diff options
Diffstat (limited to 'networking/libiproute/iprule.c')
-rw-r--r-- | networking/libiproute/iprule.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c index 50acfe4e7..a23a00d87 100644 --- a/networking/libiproute/iprule.c +++ b/networking/libiproute/iprule.c | |||
@@ -88,10 +88,9 @@ static int FAST_FUNC print_rule(const struct sockaddr_nl *who UNUSED_PARAM, | |||
88 | r->rtm_src_len | 88 | r->rtm_src_len |
89 | ); | 89 | ); |
90 | } else { | 90 | } else { |
91 | fputs(format_host(r->rtm_family, | 91 | fputs_stdout(format_host(r->rtm_family, |
92 | RTA_PAYLOAD(tb[RTA_SRC]), | 92 | RTA_PAYLOAD(tb[RTA_SRC]), |
93 | RTA_DATA(tb[RTA_SRC])), | 93 | RTA_DATA(tb[RTA_SRC])) |
94 | stdout | ||
95 | ); | 94 | ); |
96 | } | 95 | } |
97 | } else if (r->rtm_src_len) { | 96 | } else if (r->rtm_src_len) { |
@@ -178,7 +177,7 @@ static int FAST_FUNC print_rule(const struct sockaddr_nl *who UNUSED_PARAM, | |||
178 | } else | 177 | } else |
179 | printf("masquerade"); | 178 | printf("masquerade"); |
180 | } else if (r->rtm_type != RTN_UNICAST) | 179 | } else if (r->rtm_type != RTN_UNICAST) |
181 | fputs(rtnl_rtntype_n2a(r->rtm_type), stdout); | 180 | fputs_stdout(rtnl_rtntype_n2a(r->rtm_type)); |
182 | 181 | ||
183 | bb_putchar('\n'); | 182 | bb_putchar('\n'); |
184 | /*fflush_all();*/ | 183 | /*fflush_all();*/ |