aboutsummaryrefslogtreecommitdiff
path: root/networking/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/route.c')
-rw-r--r--networking/route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/route.c b/networking/route.c
index ac1d94c28..a5d8d7cb9 100644
--- a/networking/route.c
+++ b/networking/route.c
@@ -336,7 +336,7 @@ static NOINLINE void INET_setroute(int action, char **args)
336 } 336 }
337 mask = ((struct sockaddr_in *) &rt->rt_dst)->sin_addr.s_addr; 337 mask = ((struct sockaddr_in *) &rt->rt_dst)->sin_addr.s_addr;
338 if (mask & ~(uint32_t)mask_in_addr(*rt)) { 338 if (mask & ~(uint32_t)mask_in_addr(*rt)) {
339 bb_error_msg_and_die("netmask and route address conflict"); 339 bb_simple_error_msg_and_die("netmask and route address conflict");
340 } 340 }
341 } 341 }
342 342
@@ -532,7 +532,7 @@ void FAST_FUNC bb_displayroutes(int noresolve, int netstatfmt)
532 if ((r < 0) && feof(fp)) { /* EOF with no (nonspace) chars read. */ 532 if ((r < 0) && feof(fp)) { /* EOF with no (nonspace) chars read. */
533 break; 533 break;
534 } 534 }
535 bb_perror_msg_and_die(bb_msg_read_error); 535 bb_simple_perror_msg_and_die(bb_msg_read_error);
536 } 536 }
537 537
538 if (!(flgs & RTF_UP)) { /* Skip interfaces that are down. */ 538 if (!(flgs & RTF_UP)) { /* Skip interfaces that are down. */
@@ -598,7 +598,7 @@ static void INET6_displayroutes(void)
598 break; 598 break;
599 } 599 }
600 ERROR: 600 ERROR:
601 bb_perror_msg_and_die(bb_msg_read_error); 601 bb_simple_perror_msg_and_die(bb_msg_read_error);
602 } 602 }
603 603
604 /* Do the addr6x shift-and-insert changes to ':'-delimit addresses. 604 /* Do the addr6x shift-and-insert changes to ':'-delimit addresses.