Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151516244
D55099.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
526 B
Referenced Files
None
Subscribers
None
D55099.diff
View Options
diff --git a/sbin/ifconfig/ifgre.c b/sbin/ifconfig/ifgre.c
--- a/sbin/ifconfig/ifgre.c
+++ b/sbin/ifconfig/ifgre.c
@@ -53,11 +53,11 @@
uint32_t opts = 0, port;
struct ifreq ifr = { .ifr_data = (caddr_t)&opts };
- if (ioctl_ctx(ctx, GREGKEY, &ifr) == 0)
+ if (ioctl_ctx_ifr(ctx, GREGKEY, &ifr) == 0)
if (opts != 0)
printf("\tgrekey: 0x%x (%u)\n", opts, opts);
opts = 0;
- if (ioctl_ctx(ctx, GREGOPTS, &ifr) != 0 || opts == 0)
+ if (ioctl_ctx_ifr(ctx, GREGOPTS, &ifr) != 0 || opts == 0)
return;
port = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 11:24 PM (19 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28441893
Default Alt Text
D55099.diff (526 B)
Attached To
Mode
D55099: ifconfig: fix gre(4) status
Attached
Detach File
Event Timeline
Log In to Comment