summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/if.c b/lib/if.c
index 4800105dc0..0e88c601f7 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -350,8 +350,6 @@ struct interface *
if_lookup_prefix (struct prefix *prefix)
{
struct listnode *node;
- struct prefix addr;
- int bestlen = 0;
struct listnode *cnode;
struct interface *ifp;
struct connected *c;
@@ -506,10 +504,6 @@ if_flag_dump (unsigned long flag)
static void
if_dump (const struct interface *ifp)
{
- struct listnode *node;
- struct connected *c;
-
- for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, c))
zlog_info ("Interface %s index %d metric %d mtu %d "
#ifdef HAVE_IPV6
"mtu6 %d "