summaryrefslogtreecommitdiff
path: root/pfinet/iioctl-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/iioctl-ops.c')
-rw-r--r--pfinet/iioctl-ops.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pfinet/iioctl-ops.c b/pfinet/iioctl-ops.c
index 637e9f5b..c0dd6d5f 100644
--- a/pfinet/iioctl-ops.c
+++ b/pfinet/iioctl-ops.c
@@ -188,7 +188,11 @@ S_iioctl_siocsifflags (io_t port,
else if (!dev)
err = ENODEV;
else
- err = dev_change_flags(dev, flags);
+ {
+ err = dev_change_flags (dev, flags);
+ if (!err)
+ err = ethernet_change_flags (dev, flags);
+ }
__mutex_unlock (&global_lock);
end_using_socket_port (user);