Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37564334
en ru br
ALT Linux repos
S:20221126-alt1
5.0: 20071127-alt4
4.1: 20071127-alt0.M41.1
4.0: 20020927-alt4.2
3.0: 20020927-alt2

Group :: Networking/Other
RPM: iputils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: iputils-20020927-fc-ping-subint.patch
Download


--- iputils-ss021109-vanilla/ping.c	Thu Nov  7 23:53:21 2002
+++ iputils/ping.c	Sun Jan 12 03:39:24 2003
@@ -285,6 +285,9 @@
 						perror("ping: IP_MULTICAST_IF");
 						exit(2);
 					}
+				} else if (icmp_sock >= 0) {
+					/* We possible tried to SO_BINDTODEVICE() a subinterface like 'eth0:1' */
+					perror("Warning: cannot bind to specified iface, falling back");
 				}
 			}
 		}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin