diff options
author | Denys Vlasenko | 2011-03-02 04:07:14 +0100 |
---|---|---|
committer | Denys Vlasenko | 2011-03-02 04:07:14 +0100 |
commit | 940c7206c2a4acb386ab47199a6c313c04387f3b (patch) | |
tree | 9fb4aee464611ffd2cc6edbdf862149037e35f60 /networking/route.c | |
parent | 708dd4c98662670f3104b71c2fc5eef82bb726a8 (diff) | |
download | busybox-940c7206c2a4acb386ab47199a6c313c04387f3b.zip busybox-940c7206c2a4acb386ab47199a6c313c04387f3b.tar.gz |
convert "do {...} while (1);" -> "while (1) {...}"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/route.c')
-rw-r--r-- | networking/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/route.c b/networking/route.c index ac4fbb4..98a03de 100644 --- a/networking/route.c +++ b/networking/route.c @@ -605,7 +605,7 @@ static void INET6_displayroutes(void) set_flags(flags, (iflags & IPV6_MASK)); r = 0; - do { + while (1) { inet_pton(AF_INET6, addr6x + r, (struct sockaddr *) &snaddr6.sin6_addr); snaddr6.sin6_family = AF_INET6; @@ -624,7 +624,7 @@ static void INET6_displayroutes(void) free(naddr6); break; } - } while (1); + } } fclose(fp); } |