aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/iproute.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/iproute.c')
-rw-r--r--networking/libiproute/iproute.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 170c67b30..6ecd5f719 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -87,7 +87,6 @@ static int FAST_FUNC print_route(const struct sockaddr_nl *who UNUSED_PARAM,
87 inet_prefix dst; 87 inet_prefix dst;
88 inet_prefix src; 88 inet_prefix src;
89 int host_len = -1; 89 int host_len = -1;
90 SPRINT_BUF(b1);
91 90
92 if (n->nlmsg_type != RTM_NEWROUTE && n->nlmsg_type != RTM_DELROUTE) { 91 if (n->nlmsg_type != RTM_NEWROUTE && n->nlmsg_type != RTM_DELROUTE) {
93 fprintf(stderr, "Not a route: %08x %08x %08x\n", 92 fprintf(stderr, "Not a route: %08x %08x %08x\n",
@@ -236,7 +235,7 @@ static int FAST_FUNC print_route(const struct sockaddr_nl *who UNUSED_PARAM,
236 printf("Deleted "); 235 printf("Deleted ");
237 } 236 }
238 if (r->rtm_type != RTN_UNICAST /* && !G_filter.type - always 0 */) { 237 if (r->rtm_type != RTN_UNICAST /* && !G_filter.type - always 0 */) {
239 printf("%s ", rtnl_rtntype_n2a(r->rtm_type, b1)); 238 printf("%s ", rtnl_rtntype_n2a(r->rtm_type));
240 } 239 }
241 240
242 if (tb[RTA_DST]) { 241 if (tb[RTA_DST]) {