Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108595668
D41584.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
378 B
Referenced Files
None
Subscribers
None
D41584.diff
View Options
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -768,7 +768,7 @@
return (true);
/* special case for "ether" address family */
if (!strcmp(afp->af_name, "ether")) {
- if (sdl == NULL && !match_ether(sdl))
+ if (sdl == NULL || !match_ether(sdl))
return (false);
return (true);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 6:28 PM (7 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16204555
Default Alt Text
D41584.diff (378 B)
Attached To
Mode
D41584: ifconfig: fix logical error in interface matching for '-l ether'
Attached
Detach File
Event Timeline
Log In to Comment