whitespace fixes. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -409,7 +409,7 @@ static NOINLINE void INET6_setroute(int action, char **args)
|
||||
bb_error_msg_and_die("resolving %s", args_m1);
|
||||
}
|
||||
memcpy(&rt.rtmsg_gateway, sa6.sin6_addr.s6_addr,
|
||||
sizeof(struct in6_addr));
|
||||
sizeof(struct in6_addr));
|
||||
rt.rtmsg_flags |= RTF_GATEWAY;
|
||||
continue;
|
||||
}
|
||||
@ -498,11 +498,11 @@ void FAST_FUNC bb_displayroutes(int noresolve, int netstatfmt)
|
||||
FILE *fp = xfopen_for_read("/proc/net/route");
|
||||
|
||||
printf("Kernel IP routing table\n"
|
||||
"Destination Gateway Genmask Flags %s Iface\n",
|
||||
"Destination Gateway Genmask Flags %s Iface\n",
|
||||
netstatfmt ? " MSS Window irtt" : "Metric Ref Use");
|
||||
|
||||
if (fscanf(fp, "%*[^\n]\n") < 0) { /* Skip the first line. */
|
||||
goto ERROR; /* Empty or missing line, or read error. */
|
||||
goto ERROR; /* Empty or missing line, or read error. */
|
||||
}
|
||||
while (1) {
|
||||
int r;
|
||||
@ -567,8 +567,8 @@ static void INET6_displayroutes(void)
|
||||
FILE *fp = xfopen_for_read("/proc/net/ipv6_route");
|
||||
|
||||
printf("Kernel IPv6 routing table\n%-44s%-40s"
|
||||
"Flags Metric Ref Use Iface\n",
|
||||
"Destination", "Next Hop");
|
||||
"Flags Metric Ref Use Iface\n",
|
||||
"Destination", "Next Hop");
|
||||
|
||||
while (1) {
|
||||
int r;
|
||||
@ -618,8 +618,8 @@ static void INET6_displayroutes(void)
|
||||
(struct sockaddr *) &snaddr6.sin6_addr);
|
||||
snaddr6.sin6_family = AF_INET6;
|
||||
naddr6 = INET6_rresolve((struct sockaddr_in6 *) &snaddr6,
|
||||
0x0fff /* Apparently, upstream never resolves. */
|
||||
);
|
||||
0x0fff /* Apparently, upstream never resolves. */
|
||||
);
|
||||
|
||||
if (!r) { /* 1st pass */
|
||||
snprintf(addr6, sizeof(addr6), "%s/%d", naddr6, prefix_len);
|
||||
|
Reference in New Issue
Block a user