aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/libiproute/ipaddress.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 0a1b5d798..8364f6a3e 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -424,7 +424,6 @@ int FAST_FUNC ipaddr_list_or_flush(char **argv, int flush)
424 struct nlmsg_list *l; 424 struct nlmsg_list *l;
425 struct rtnl_handle rth; 425 struct rtnl_handle rth;
426 char *filter_dev = NULL; 426 char *filter_dev = NULL;
427 int no_link = 0;
428 427
429 ipaddr_reset_filter(oneline); 428 ipaddr_reset_filter(oneline);
430 G_filter.showqueue = 1; 429 G_filter.showqueue = 1;
@@ -516,9 +515,6 @@ int FAST_FUNC ipaddr_list_or_flush(char **argv, int flush)
516 struct nlmsg_list **lp; 515 struct nlmsg_list **lp;
517 lp = &linfo; 516 lp = &linfo;
518 517
519 if (G_filter.oneline)
520 no_link = 1;
521
522 while ((l = *lp) != NULL) { 518 while ((l = *lp) != NULL) {
523 int ok = 0; 519 int ok = 0;
524 struct ifinfomsg *ifi = NLMSG_DATA(&l->h); 520 struct ifinfomsg *ifi = NLMSG_DATA(&l->h);