diff options
author | 2003-01-20 01:34:26 +0000 | |
---|---|---|
committer | 2003-01-20 01:34:26 +0000 | |
commit | 371779ab0b8547fd09ce36660228b678f2395443 (patch) | |
tree | 1726ed17739efab8666194ee2ad9f60cfd9d47cc | |
parent | No more libc_r and don't link explicitly with -lpthread Not having (diff) | |
download | wireguard-openbsd-371779ab0b8547fd09ce36660228b678f2395443.tar.xz wireguard-openbsd-371779ab0b8547fd09ce36660228b678f2395443.zip |
just for safety. from http://templeofhate.com/tglaser/pub/obsd.diff
-rw-r--r-- | sys/net/if_gif.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index 018350d17a0..1ffbeb66212 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gif.c,v 1.25 2002/06/30 13:04:36 itojun Exp $ */ +/* $OpenBSD: if_gif.c,v 1.26 2003/01/20 01:34:26 itojun Exp $ */ /* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */ /* @@ -298,6 +298,9 @@ gif_ioctl(ifp, cmd, data) &(((struct if_laddrreq *)data)->addr); dst = (struct sockaddr *) &(((struct if_laddrreq *)data)->dstaddr); + break; + default: + return EINVAL; } /* sa_family must be equal */ |