Signed-off-by: Ben Pfaff <[email protected]>
---
lib/tnl-arp-cache.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/tnl-arp-cache.c b/lib/tnl-arp-cache.c
index 0113474..b6bfd22 100644
--- a/lib/tnl-arp-cache.c
+++ b/lib/tnl-arp-cache.c
@@ -75,8 +75,8 @@ tnl_arp_lookup(const char br_name[IFNAMSIZ], ovs_be32 dst,
arp = tnl_arp_lookup__(br_name, dst);
if (arp) {
- memcpy(mac, arp->mac, ETH_ADDR_LEN);
- res = 0;
+ memcpy(mac, arp->mac, ETH_ADDR_LEN);
+ res = 0;
}
return res;
@@ -142,8 +142,8 @@ tnl_arp_cache_run(void)
ovs_mutex_lock(&mutex);
CMAP_FOR_EACH(arp, cmap_node, &table) {
if (arp->expires <= time_now()) {
- tnl_arp_delete(arp);
- changed = true;
+ tnl_arp_delete(arp);
+ changed = true;
}
}
ovs_mutex_unlock(&mutex);
@@ -162,8 +162,8 @@ tnl_arp_cache_flush(struct unixctl_conn *conn OVS_UNUSED,
int argc OVS_UNUSED,
ovs_mutex_lock(&mutex);
CMAP_FOR_EACH(arp, cmap_node, &table) {
- tnl_arp_delete(arp);
- changed = true;
+ tnl_arp_delete(arp);
+ changed = true;
}
ovs_mutex_unlock(&mutex);
if (changed) {
--
2.1.3
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev