Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163597804
D50264.id155717.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
648 B
Referenced Files
None
Subscribers
None
D50264.id155717.diff
View Options
diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c
--- a/sys/dev/wtap/if_wtap.c
+++ b/sys/dev/wtap/if_wtap.c
@@ -35,7 +35,6 @@
#include <sys/uio.h> /* uio struct */
#include <net/if.h>
#include <net/if_var.h>
-#include <net/if_private.h>
#include <net/vnet.h>
#include <net80211/ieee80211_ratectl.h>
@@ -396,7 +395,7 @@
ieee80211_vap_attach(vap, ieee80211_media_change,
ieee80211_media_status, mac);
avp->av_dev = make_dev(&wtap_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600,
- "%s", (const char *)vap->iv_ifp->if_xname);
+ "%s", if_name(vap->iv_ifp));
avp->av_dev->si_drv1 = sc;
callout_init(&avp->av_swba, 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 25, 8:21 PM (17 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35487861
Default Alt Text
D50264.id155717.diff (648 B)
Attached To
Mode
D50264: wtap build error - missing header file
Attached
Detach File
Event Timeline
Log In to Comment