Page MenuHomeFreeBSD

D50264.1783913260.diff
No OneTemporary

Size
631 B
Referenced Files
None
Subscribers
None

D50264.1783913260.diff

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
@@ -33,7 +33,7 @@
*/
#include "if_wtapvar.h"
#include <sys/uio.h> /* uio struct */
-#include <sys/jail.h>
+#include <net/if.h>
#include <net/if_var.h>
#include <net/vnet.h>
@@ -395,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

Mime Type
text/plain
Expires
Mon, Jul 13, 3:27 AM (4 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29104506
Default Alt Text
D50264.1783913260.diff (631 B)

Event Timeline