Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108390233
D38713.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
421 B
Referenced Files
None
Subscribers
None
D38713.diff
View Options
diff --git a/sys/compat/linux/linux_netlink.c b/sys/compat/linux/linux_netlink.c
--- a/sys/compat/linux/linux_netlink.c
+++ b/sys/compat/linux/linux_netlink.c
@@ -302,7 +302,7 @@
/* Convert interface type */
switch (ifinfo->ifi_type) {
case IFT_ETHER:
- ifinfo->ifi_type = 1; // ARPHRD_ETHER
+ ifinfo->ifi_type = LINUX_ARPHRD_ETHER;
break;
}
ifinfo->ifi_flags = rtnl_if_flags_to_linux(ifinfo->ifi_flags);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 25, 9:56 AM (16 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16134008
Default Alt Text
D38713.diff (421 B)
Attached To
Mode
D38713: linux(4): Use predefined constant instead of hardcoded value
Attached
Detach File
Event Timeline
Log In to Comment