X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fmac-learning.c;h=052ac48440ce478b3da9ca9e73936c028bcb5677;hb=cb22974d773942d66da42b700b8bca0db27a0920;hp=f609d48e2a14b9043fab356a4adb1832dc3fd01f;hpb=4749f73d12c844b318af7f45cf45e1acac9f7c08;p=sliver-openvswitch.git diff --git a/lib/mac-learning.c b/lib/mac-learning.c index f609d48e2..052ac4844 100644 --- a/lib/mac-learning.c +++ b/lib/mac-learning.c @@ -17,7 +17,6 @@ #include #include "mac-learning.h" -#include #include #include @@ -284,7 +283,7 @@ mac_learning_lookup(const struct mac_learning *ml, } else { struct mac_entry *e = mac_entry_lookup(ml, dst, vlan); - assert(e == NULL || e->tag != 0); + ovs_assert(e == NULL || e->tag != 0); if (tag) { /* Tag either the learned port or the lack thereof. */ *tag |= e ? e->tag : make_unknown_mac_tag(ml, dst, vlan);