diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-02-22 07:33:25 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-02-22 07:33:25 +0000 |
commit | d4897cfa3c5c7228b8def793720cacec4f411cb7 (patch) | |
tree | 80f146c5178e0c646ac2498cddb57e61f82c356c /sys/net | |
parent | 82d29a3ef1f9b310d696aad6601faf1f06f16fed (diff) |
don't get in the way of setting the rdomain on gre(4)
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_gre.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index 76aa35e8127..2e33fc012c1 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gre.c,v 1.110 2018/02/21 22:20:19 dlg Exp $ */ +/* $OpenBSD: if_gre.c,v 1.111 2018/02/22 07:33:24 dlg Exp $ */ /* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */ /* @@ -1676,6 +1676,8 @@ gre_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) } break; case SIOCSIFRDOMAIN: + /* let if_rdomain do its thing */ + error = ENOTTY; break; case SIOCSETKALIVE: |