Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rtadvd Use wrapper name for call to setsockopt(2), ...
details: https://anonhg.NetBSD.org/src/rev/de15a3a6486f
branches: trunk
changeset: 937838:de15a3a6486f
user: rjs <rjs%NetBSD.org@localhost>
date: Fri Aug 28 00:19:37 2020 +0000
description:
Use wrapper name for call to setsockopt(2), NFC for non-rump builds.
diffstat:
usr.sbin/rtadvd/rtadvd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1196a41d1677 -r de15a3a6486f usr.sbin/rtadvd/rtadvd.c
--- a/usr.sbin/rtadvd/rtadvd.c Thu Aug 27 19:21:14 2020 +0000
+++ b/usr.sbin/rtadvd/rtadvd.c Fri Aug 28 00:19:37 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtadvd.c,v 1.78 2020/05/14 23:42:18 christos Exp $ */
+/* $NetBSD: rtadvd.c,v 1.79 2020/08/28 00:19:37 rjs Exp $ */
/* $KAME: rtadvd.c,v 1.92 2005/10/17 14:40:02 suz Exp $ */
/*
@@ -1614,7 +1614,7 @@
exit(EXIT_FAILURE);
}
#ifdef RO_MSGFILTER
- if (setsockopt(rtsock, PF_ROUTE, RO_MSGFILTER,
+ if (prog_setsockopt(rtsock, PF_ROUTE, RO_MSGFILTER,
&msgfilter, sizeof(msgfilter) == -1))
logit(LOG_ERR, "%s: RO_MSGFILTER: %m", __func__);
#endif
Home |
Main Index |
Thread Index |
Old Index