diff options
Diffstat (limited to 'networking/libiproute/ipneigh.c')
-rw-r--r-- | networking/libiproute/ipneigh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/libiproute/ipneigh.c b/networking/libiproute/ipneigh.c index 984dd4bdd..b9b4f4b31 100644 --- a/networking/libiproute/ipneigh.c +++ b/networking/libiproute/ipneigh.c | |||
@@ -49,7 +49,7 @@ typedef struct filter_t filter_t; | |||
49 | static int flush_update(void) | 49 | static int flush_update(void) |
50 | { | 50 | { |
51 | if (rtnl_send_check(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { | 51 | if (rtnl_send_check(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { |
52 | bb_perror_msg("can't send flush request"); | 52 | bb_simple_perror_msg("can't send flush request"); |
53 | return -1; | 53 | return -1; |
54 | } | 54 | } |
55 | G_filter.flushp = 0; | 55 | G_filter.flushp = 0; |
@@ -305,7 +305,7 @@ static int FAST_FUNC ipneigh_list_or_flush(char **argv, int flush) | |||
305 | xrtnl_wilddump_request(&rth, G_filter.family, RTM_GETNEIGH); | 305 | xrtnl_wilddump_request(&rth, G_filter.family, RTM_GETNEIGH); |
306 | G_filter.flushed = 0; | 306 | G_filter.flushed = 0; |
307 | if (xrtnl_dump_filter(&rth, print_neigh, NULL) < 0) { | 307 | if (xrtnl_dump_filter(&rth, print_neigh, NULL) < 0) { |
308 | bb_perror_msg_and_die("flush terminated"); | 308 | bb_simple_perror_msg_and_die("flush terminated"); |
309 | } | 309 | } |
310 | if (G_filter.flushed == 0) { | 310 | if (G_filter.flushed == 0) { |
311 | if (round == 0) | 311 | if (round == 0) |
@@ -325,11 +325,11 @@ static int FAST_FUNC ipneigh_list_or_flush(char **argv, int flush) | |||
325 | ndm.ndm_family = G_filter.family; | 325 | ndm.ndm_family = G_filter.family; |
326 | 326 | ||
327 | if (rtnl_dump_request(&rth, RTM_GETNEIGH, &ndm, sizeof(struct ndmsg)) < 0) { | 327 | if (rtnl_dump_request(&rth, RTM_GETNEIGH, &ndm, sizeof(struct ndmsg)) < 0) { |
328 | bb_perror_msg_and_die("can't send dump request"); | 328 | bb_simple_perror_msg_and_die("can't send dump request"); |
329 | } | 329 | } |
330 | 330 | ||
331 | if (xrtnl_dump_filter(&rth, print_neigh, NULL) < 0) { | 331 | if (xrtnl_dump_filter(&rth, print_neigh, NULL) < 0) { |
332 | bb_error_msg_and_die("dump terminated"); | 332 | bb_simple_error_msg_and_die("dump terminated"); |
333 | } | 333 | } |
334 | 334 | ||
335 | return 0; | 335 | return 0; |