artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4c1d3a
)
sendmsg returns a signed value, fix error check
author
jca
<jca@openbsd.org>
Wed, 5 Apr 2017 14:48:48 +0000
(14:48 +0000)
committer
jca
<jca@openbsd.org>
Wed, 5 Apr 2017 14:48:48 +0000
(14:48 +0000)
ok millert@ deraadt@
usr.sbin/rtadvd/rtadvd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rtadvd/rtadvd.c
b/usr.sbin/rtadvd/rtadvd.c
index
aba081a
..
57d36ff
100644
(file)
--- a/
usr.sbin/rtadvd/rtadvd.c
+++ b/
usr.sbin/rtadvd/rtadvd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: rtadvd.c,v 1.8
3 2017/01/20 23:29:58 benno Exp $
*/
+/* $OpenBSD: rtadvd.c,v 1.8
4 2017/04/05 14:48:48 jca Exp $
*/
/* $KAME: rtadvd.c,v 1.66 2002/05/29 14:18:36 itojun Exp $ */
/*
@@
-1218,7
+1218,7
@@
ra_output(struct rainfo *rainfo)
{
struct cmsghdr *cm;
struct in6_pktinfo *pi;
- size_t len;
+ s
s
ize_t len;
if ((iflist[rainfo->ifindex]->ifm_flags & IFF_UP) == 0) {
log_debug("%s is not up, skip sending RA", rainfo->ifname);