Skip to content

Commit

Permalink
tnl-arp-cache: Indentation fixes.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
  • Loading branch information
blp committed Jul 22, 2015
1 parent eae3484 commit 08a9564
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/tnl-arp-cache.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand All @@ -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) {
Expand Down

0 comments on commit 08a9564

Please sign in to comment.