summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_zebra.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 10:21:51 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 10:21:51 -0700
commit489d3935b90bc6f1a0b866f321c4d1fc9f480d8b (patch)
tree8ab28fbadde2a9d1652f5f8714066f73799928ea /bgpd/bgp_zebra.c
parent078fe1a5228485101a19caba39dab70ea12179ae (diff)
downloadquagga-489d3935b90bc6f1a0b866f321c4d1fc9f480d8b.tar.bz2
quagga-489d3935b90bc6f1a0b866f321c4d1fc9f480d8b.tar.xz
fix compiler warnings
Fix easy compiler warnings about unused code by marking them with #if 0 Add one missing printf argument.
Diffstat (limited to 'bgpd/bgp_zebra.c')
-rw-r--r--bgpd/bgp_zebra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c
index 0b6ab45a..ec1143af 100644
--- a/bgpd/bgp_zebra.c
+++ b/bgpd/bgp_zebra.c
@@ -639,6 +639,7 @@ bgp_nexthop_set (union sockunion *local, union sockunion *remote,
return ret;
}
+#if 0
#ifdef HAVE_IPV6
static unsigned int
bgp_ifindex_by_nexthop (struct in6_addr *addr)
@@ -671,6 +672,7 @@ bgp_ifindex_by_nexthop (struct in6_addr *addr)
return 0;
}
#endif /* HAVE_IPV6 */
+#endif
void
bgp_zebra_announce (struct prefix *p, struct bgp_info *info, struct bgp *bgp)