summaryrefslogtreecommitdiff
path: root/babeld/kernel.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-12-04 19:29:42 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-12-04 21:28:19 -0500
commitedb1d4a09acdf27c04ce27adf1b06e4faa86454a (patch)
treeb0e94b44fe0d8b62cee3924b84d694409eaac78c /babeld/kernel.c
parentd17ea5225bb520a94af1b149c26e1807b929ebf1 (diff)
babeld: if_eui64 never uses ifname
Remove this variable. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'babeld/kernel.c')
-rw-r--r--babeld/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/kernel.c b/babeld/kernel.c
index 3343ca2e95..8c4fc953e7 100644
--- a/babeld/kernel.c
+++ b/babeld/kernel.c
@@ -203,7 +203,7 @@ zebra_route(int add, int family, const unsigned char *pref, unsigned short plen,
}
int
-if_eui64(char *ifname, int ifindex, unsigned char *eui)
+if_eui64(int ifindex, unsigned char *eui)
{
struct interface *ifp = if_lookup_by_index(ifindex, VRF_DEFAULT);
if (ifp == NULL) {