diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 19:56:34 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 19:56:34 +0000 |
commit | 9275814a9e6a3af390c932238c0b1130de8d0edd (patch) | |
tree | beabb5991332e0e2af56b4cb885a8fd6fc7daae2 /networking/traceroute.c | |
parent | cf94446af7a75385955e0c4de2d5898b219f5719 (diff) | |
download | busybox-w32-9275814a9e6a3af390c932238c0b1130de8d0edd.tar.gz busybox-w32-9275814a9e6a3af390c932238c0b1130de8d0edd.tar.bz2 busybox-w32-9275814a9e6a3af390c932238c0b1130de8d0edd.zip |
lots of silly indent fixes
Diffstat (limited to 'networking/traceroute.c')
-rw-r--r-- | networking/traceroute.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c index 80ce5c3ee..e7e131149 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c | |||
@@ -641,7 +641,7 @@ send_probe(int seq, int ttl, struct timeval *tp) | |||
641 | outicmp->icmp_cksum = 0xffff; | 641 | outicmp->icmp_cksum = 0xffff; |
642 | } else | 642 | } else |
643 | #endif | 643 | #endif |
644 | if (doipcksum) { | 644 | if (doipcksum) { |
645 | /* Checksum (we must save and restore ip header) */ | 645 | /* Checksum (we must save and restore ip header) */ |
646 | tip = *outip; | 646 | tip = *outip; |
647 | ui = (struct udpiphdr *)outip; | 647 | ui = (struct udpiphdr *)outip; |
@@ -788,7 +788,7 @@ packet_ok(unsigned char *buf, int cc, struct sockaddr_in *from, int seq) | |||
788 | return (type == ICMP_TIMXCEED ? -1 : code + 1); | 788 | return (type == ICMP_TIMXCEED ? -1 : code + 1); |
789 | } else | 789 | } else |
790 | #endif | 790 | #endif |
791 | { | 791 | { |
792 | up = (struct udphdr *)((unsigned char *)hip + hlen); | 792 | up = (struct udphdr *)((unsigned char *)hip + hlen); |
793 | /* XXX 8 is a magic number */ | 793 | /* XXX 8 is a magic number */ |
794 | if (hlen + 12 <= cc && | 794 | if (hlen + 12 <= cc && |
@@ -996,11 +996,11 @@ traceroute_main(int argc, char *argv[]) | |||
996 | if(nprobes_str) | 996 | if(nprobes_str) |
997 | nprobes = str2val(nprobes_str, "nprobes", 1, -1); | 997 | nprobes = str2val(nprobes_str, "nprobes", 1, -1); |
998 | if(source) { | 998 | if(source) { |
999 | /* | 999 | /* |
1000 | * set the ip source address of the outbound | 1000 | * set the ip source address of the outbound |
1001 | * probe (e.g., on a multi-homed host). | 1001 | * probe (e.g., on a multi-homed host). |
1002 | */ | 1002 | */ |
1003 | if (getuid()) bb_error_msg_and_die("-s %s: Permission denied", source); | 1003 | if (getuid()) bb_error_msg_and_die("-s %s: permission denied", source); |
1004 | } | 1004 | } |
1005 | if(waittime_str) | 1005 | if(waittime_str) |
1006 | waittime = str2val(waittime_str, "wait time", 2, 24 * 60 * 60); | 1006 | waittime = str2val(waittime_str, "wait time", 2, 24 * 60 * 60); |
@@ -1015,7 +1015,7 @@ traceroute_main(int argc, char *argv[]) | |||
1015 | 1015 | ||
1016 | for(l_sr = sourse_route_list; l_sr; ) { | 1016 | for(l_sr = sourse_route_list; l_sr; ) { |
1017 | if (lsrr >= NGATEWAYS) | 1017 | if (lsrr >= NGATEWAYS) |
1018 | bb_error_msg_and_die("No more than %d gateways", NGATEWAYS); | 1018 | bb_error_msg_and_die("no more than %d gateways", NGATEWAYS); |
1019 | getaddr(gwlist + lsrr, l_sr->data); | 1019 | getaddr(gwlist + lsrr, l_sr->data); |
1020 | ++lsrr; | 1020 | ++lsrr; |
1021 | l_sr = l_sr->link; | 1021 | l_sr = l_sr->link; |