Commit 192521ff authored by David Johnson's avatar David Johnson

"Fix" use of MUL-internal hash_bytes function to avoid warning.

parent 60d055c3
Pipeline #1932 passed with stage
in 32 seconds
......@@ -2,7 +2,6 @@
#include "capnet_config.h"
#include "capnet_log.h"
#include "mul_common.h"
#include "hash.h"
#include "controller.h"
#include "metadata.h"
......@@ -65,8 +64,11 @@ static int __cnc_domain_setup_node_osmeta_flows(cn_node_t *osmetanode,
/**
** Util functions.
**/
/* This is a MUL-internal function, in the common lib. */
uint32_t hash_bytes(const void *p_, size_t n, uint32_t basis);
unsigned int __mac_hash(const void *p) {
return hash_bytes((const uint8_t *)p,OFP_ETH_ALEN,1);
return hash_bytes(p,OFP_ETH_ALEN,1);
}
int __mac_equal(const void *p1,const void *p2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment