Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142992993
D44304.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
433 B
Referenced Files
None
Subscribers
None
D44304.diff
View Options
diff --git a/sbin/ping/main.c b/sbin/ping/main.c
--- a/sbin/ping/main.c
+++ b/sbin/ping/main.c
@@ -149,7 +149,7 @@
hints.ai_socktype = SOCK_RAW;
if (feature_present("inet") && !feature_present("inet6"))
hints.ai_family = AF_INET;
- if (feature_present("inet6") && !feature_present("inet"))
+ else if (feature_present("inet6") && !feature_present("inet"))
hints.ai_family = AF_INET6;
else
hints.ai_family = AF_UNSPEC;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 26, 3:37 AM (21 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27997415
Default Alt Text
D44304.diff (433 B)
Attached To
Mode
D44304: ping: Fix protocol selection with NOINET6 kernel.
Attached
Detach File
Event Timeline
Log In to Comment