From: dlg Date: Thu, 22 Feb 2018 07:33:24 +0000 (+0000) Subject: don't get in the way of setting the rdomain on gre(4) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bb2dd45b990026a7c3d60e41ce9d91dd8ef1a312;p=openbsd don't get in the way of setting the rdomain on gre(4) --- 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: