projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flow: Remove flow_to/from_match() in favor of cls_rule_to/from_match().
[openvswitch]
/
lib
/
mac-learning.c
diff --git
a/lib/mac-learning.c
b/lib/mac-learning.c
index c8582f3123c98d577596d9dcc47a4e54635e648b..9de338c678f38a022084c0a452d0f7fecd3cc1ae 100644
(file)
--- a/
lib/mac-learning.c
+++ b/
lib/mac-learning.c
@@
-31,7
+31,7
@@
#include "util.h"
#include "vlog.h"
#include "util.h"
#include "vlog.h"
-VLOG_DEFINE_THIS_MODULE(mac_learning)
+VLOG_DEFINE_THIS_MODULE(mac_learning)
;
/* Returns the number of seconds since 'e' was last learned. */
int
/* Returns the number of seconds since 'e' was last learned. */
int
@@
-79,7
+79,7
@@
search_bucket(struct list *bucket, const uint8_t mac[ETH_ADDR_LEN],
uint16_t vlan)
{
struct mac_entry *e;
uint16_t vlan)
{
struct mac_entry *e;
- LIST_FOR_EACH (e,
struct mac_entry,
hash_node, bucket) {
+ LIST_FOR_EACH (e, hash_node, bucket) {
if (eth_addr_equals(e->mac, mac) && e->vlan == vlan) {
return e;
}
if (eth_addr_equals(e->mac, mac) && e->vlan == vlan) {
return e;
}