diff options
author | 2019-03-01 16:35:17 +0000 | |
---|---|---|
committer | 2019-03-01 16:35:17 +0000 | |
commit | 78f57b208f3f660d52bcbf4093bc585342430385 (patch) | |
tree | fd8bba5351162ef9dd3fc11395f6e29b7587e0b3 | |
parent | trailing whitespace (diff) | |
download | wireguard-openbsd-78f57b208f3f660d52bcbf4093bc585342430385.tar.xz wireguard-openbsd-78f57b208f3f660d52bcbf4093bc585342430385.zip |
trailing whitespace
-rw-r--r-- | usr.sbin/rad/frontend.c | 4 | ||||
-rw-r--r-- | usr.sbin/rad/parse.y | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rad/frontend.c b/usr.sbin/rad/frontend.c index 4621c5f25c3..938bb099841 100644 --- a/usr.sbin/rad/frontend.c +++ b/usr.sbin/rad/frontend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: frontend.c,v 1.20 2019/01/29 15:43:33 florian Exp $ */ +/* $OpenBSD: frontend.c,v 1.21 2019/03/01 16:35:17 florian Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -871,7 +871,7 @@ get_interface_prefixes(struct ra_iface *ra_iface, struct ra_prefix_conf (void) strlcpy(ifr6.ifr_name, ra_iface->name, sizeof(ifr6.ifr_name)); memcpy(&ifr6.ifr_addr, sin6, sizeof(ifr6.ifr_addr)); - + if (ioctl(ioctlsock, SIOCGIFNETMASK_IN6, (caddr_t)&ifr6) < 0) continue; /* addr got deleted while we were looking */ diff --git a/usr.sbin/rad/parse.y b/usr.sbin/rad/parse.y index 49f50549f64..d69d6e603a4 100644 --- a/usr.sbin/rad/parse.y +++ b/usr.sbin/rad/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.12 2019/02/13 22:57:08 deraadt Exp $ */ +/* $OpenBSD: parse.y,v 1.13 2019/03/01 16:35:17 florian Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -187,7 +187,7 @@ varset : STRING '=' string { conf_main : ra_opt_block { ra_options = &conf->ra_options; - } + } ; ra_opt_block : DEFAULT ROUTER yesno { |