diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 14:29:17 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 14:29:17 +0100 |
commit | a20526cc30d68ca5c4c7951238faafa8969a31c1 (patch) | |
tree | c9a0d8ee5e16ee5f42704c9c9f3122f407f13122 /ospf6d/ospf6_route.c | |
parent | d6f1bd7b60fc94488dc6a0493a6ec17346a03b2d (diff) | |
download | quagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.bz2 quagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.xz |
Removing compiler warnings.
Removed nearly 100 compiler warnings in the various routing daemons
which now clean compile.
Removed one warning in vty.c, which was obscured by the other
warnings. SO... this commit corrects the previous one.
Diffstat (limited to 'ospf6d/ospf6_route.c')
-rw-r--r-- | ospf6d/ospf6_route.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ospf6d/ospf6_route.c b/ospf6d/ospf6_route.c index 1e1f4fb5..8c1746c7 100644 --- a/ospf6d/ospf6_route.c +++ b/ospf6d/ospf6_route.c @@ -1070,7 +1070,7 @@ ospf6_route_show_table (struct vty *vty, int detail, } int -ospf6_route_table_show (struct vty *vty, int argc, const char *argv[], +ospf6_route_table_show (struct vty *vty, int argc, argv_t argv, struct ospf6_route_table *table) { int summary = 0; @@ -1183,9 +1183,9 @@ ospf6_linkstate_show (struct vty *vty, struct ospf6_route *route) u_int32_t router, id; char routername[16], idname[16], rbits[16], options[16]; - router = ospf6_linkstate_prefix_adv_router (&route->prefix); + router = ospf6_linkstate_prefix_adv_router (route->prefix); inet_ntop (AF_INET, &router, routername, sizeof (routername)); - id = ospf6_linkstate_prefix_id (&route->prefix); + id = ospf6_linkstate_prefix_id (route->prefix); inet_ntop (AF_INET, &id, idname, sizeof (idname)); ospf6_capability_printbuf (route->path.router_bits, rbits, sizeof (rbits)); @@ -1245,7 +1245,7 @@ ospf6_linkstate_show_table (struct vty *vty, int detail, } int -ospf6_linkstate_table_show (struct vty *vty, int argc, const char *argv[], +ospf6_linkstate_table_show (struct vty *vty, int argc, argv_t argv, struct ospf6_route_table *table) { int detail = 0; @@ -1320,7 +1320,7 @@ ospf6_brouter_show (struct vty *vty, struct ospf6_route *route) u_int32_t adv_router; char adv[16], rbits[16], options[16], area[16]; - adv_router = ospf6_linkstate_prefix_adv_router (&route->prefix); + adv_router = ospf6_linkstate_prefix_adv_router (route->prefix); inet_ntop (AF_INET, &adv_router, adv, sizeof (adv)); ospf6_capability_printbuf (route->path.router_bits, rbits, sizeof (rbits)); ospf6_options_printbuf (route->path.options, options, sizeof (options)); |