summaryrefslogtreecommitdiffstats
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2018-08-29 02:02:40 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-09-18 16:41:53 +0200
commitd63c1b18b426fbb2685208dac16ca20767c3219d (patch)
tree660eb0cf36fcc1ed585ed405256530ec0deebb9b /zebra/rt_socket.c
parentMerge pull request #3017 from pacovn/devbuild_Wshadow_flag (diff)
downloadfrr-d63c1b18b426fbb2685208dac16ca20767c3219d.tar.xz
frr-d63c1b18b426fbb2685208dac16ca20767c3219d.zip
zebra: Remove unused parameter in MAC delete
When a MAC moves from local to remote, a replace is allowed, EVPN no longer has to delete the local MAC before installing the remote MAC. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com> Reviewed-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r--zebra/rt_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index a6de84d56..2a93992eb 100644
--- a/zebra/rt_socket.c
+++ b/zebra/rt_socket.c
@@ -459,7 +459,7 @@ int kernel_add_mac(struct interface *ifp, vlanid_t vid, struct ethaddr *mac,
}
int kernel_del_mac(struct interface *ifp, vlanid_t vid, struct ethaddr *mac,
- struct in_addr vtep_ip, int local)
+ struct in_addr vtep_ip)
{
return 0;
}