diff options
Diffstat (limited to 'networking/libiproute/iproute.c')
-rw-r--r-- | networking/libiproute/iproute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 68e3c36a0..d771a609b 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
@@ -51,7 +51,7 @@ typedef struct filter_t filter_t; | |||
51 | static int flush_update(void) | 51 | static int flush_update(void) |
52 | { | 52 | { |
53 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { | 53 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { |
54 | bb_perror_msg("failed to send flush request"); | 54 | bb_perror_msg("can't send flush request"); |
55 | return -1; | 55 | return -1; |
56 | } | 56 | } |
57 | G_filter.flushp = 0; | 57 | G_filter.flushp = 0; |
@@ -846,7 +846,7 @@ static int iproute_get(char **argv) | |||
846 | tb[RTA_PREFSRC]->rta_type = RTA_SRC; | 846 | tb[RTA_PREFSRC]->rta_type = RTA_SRC; |
847 | r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]); | 847 | r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]); |
848 | } else if (!tb[RTA_SRC]) { | 848 | } else if (!tb[RTA_SRC]) { |
849 | bb_error_msg_and_die("failed to connect the route"); | 849 | bb_error_msg_and_die("can't connect the route"); |
850 | } | 850 | } |
851 | if (!odev && tb[RTA_OIF]) { | 851 | if (!odev && tb[RTA_OIF]) { |
852 | tb[RTA_OIF]->rta_type = 0; | 852 | tb[RTA_OIF]->rta_type = 0; |