summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_zebra.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 10:03:14 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 10:03:14 -0700
commit774b5b9ac303291dd153e79a6f6bab918a599025 (patch)
tree2979f731dcf16aa677c07cc3ae4ff813c35fd2df /ospf6d/ospf6_zebra.c
parent4421ea9c1df765b81cde6a9a4c2347e12151d230 (diff)
downloadquagga-774b5b9ac303291dd153e79a6f6bab918a599025.tar.bz2
quagga-774b5b9ac303291dd153e79a6f6bab918a599025.tar.xz
get rid of compiler warnings in OSPF
To get rid of warnings: * remove unused functions with ifdef * use correct printf formats
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
-rw-r--r--ospf6d/ospf6_zebra.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index c974005f..4440a67f 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -134,8 +134,9 @@ ospf6_zebra_if_state_update (int command, struct zclient *zclient,
ifp = zebra_interface_state_read (zclient->ibuf);
if (IS_OSPF6_DEBUG_ZEBRA (RECV))
zlog_debug ("Zebra Interface state change: "
- "%s index %d flags %ld metric %d mtu %d",
- ifp->name, ifp->ifindex, ifp->flags, ifp->metric, ifp->mtu6);
+ "%s index %d flags %#llx metric %d mtu %d",
+ ifp->name, ifp->ifindex, (unsigned long long)ifp->flags,
+ ifp->metric, ifp->mtu6);
ospf6_interface_state_update (ifp);
return 0;