Ditch the sysvinit stuff
[profile/ivi/iputils.git] / packaging / iputils-20020927-ping-subint.patch
1 --- iputils-ss021109-vanilla/ping.c     Thu Nov  7 23:53:21 2002
2 +++ iputils/ping.c      Sun Jan 12 03:39:24 2003
3 @@ -285,6 +285,9 @@
4                                                 perror("ping: IP_MULTICAST_IF");
5                                                 exit(2);
6                                         }
7 +                               } else if (icmp_sock >= 0) {
8 +                                       /* We possible tried to SO_BINDTODEVICE() a subinterface like 'eth0:1' */
9 +                                       perror("Warning: cannot bind to specified iface, falling back");
10                                 }
11                         }
12                 }