From 15b54482241083d52b6e9857a66fecbf915d467d Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 8 Jun 2023 20:05:18 +0200 Subject: cooker: Full support for flags and masks, assorted fixes Signed-off-by: Stefano Brivio --- cooker/calls/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cooker/calls/ioctl.c') diff --git a/cooker/calls/ioctl.c b/cooker/calls/ioctl.c index 1609541..336d3c3 100644 --- a/cooker/calls/ioctl.c +++ b/cooker/calls/ioctl.c @@ -76,7 +76,7 @@ static struct field tun_ifr[] = { /* netdevice(7) */ IFNAMSIZ, { 0 }, }, { - "flags", INT, /* One allowed at a time? */ 0, + "flags", INT, FLAGS, offsetof(struct ifreq, ifr_flags), 0, { .d_num = tun_ifr_flags }, }, -- cgit v1.2.3