summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_gre.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c
index 4fc7015d359..7b8145f8d9c 100644
--- a/sys/net/if_gre.c
+++ b/sys/net/if_gre.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gre.c,v 1.8 2001/03/07 05:43:49 aaron Exp $ */
+/* $OpenBSD: if_gre.c,v 1.9 2001/03/25 07:10:47 csapuntz Exp $ */
/* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@ -494,6 +494,7 @@ gre_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
{
sc->g_src.s_addr = INADDR_ANY;
sc->g_dst.s_addr = INADDR_ANY;
+ splx(s);
return EIO; /* Is this is good ? */
}
ifp->if_flags |= IFF_UP;