diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 10:03:14 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 10:03:14 -0700 |
commit | 774b5b9ac303291dd153e79a6f6bab918a599025 (patch) | |
tree | 2979f731dcf16aa677c07cc3ae4ff813c35fd2df /ospf6d/ospf6_zebra.c | |
parent | 4421ea9c1df765b81cde6a9a4c2347e12151d230 (diff) | |
download | quagga-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.c | 5 |
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; |