Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ndp close(2) missing. Andrey Matveev
details: https://anonhg.NetBSD.org/src/rev/78d61d860836
branches: trunk
changeset: 566913:78d61d860836
user: itojun <itojun%NetBSD.org@localhost>
date: Mon May 24 03:51:04 2004 +0000
description:
close(2) missing. Andrey Matveev
diffstat:
usr.sbin/ndp/ndp.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r b3a85429ca22 -r 78d61d860836 usr.sbin/ndp/ndp.c
--- a/usr.sbin/ndp/ndp.c Mon May 24 03:26:34 2004 +0000
+++ b/usr.sbin/ndp/ndp.c Mon May 24 03:51:04 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ndp.c,v 1.31 2004/02/10 14:44:32 itojun Exp $ */
+/* $NetBSD: ndp.c,v 1.32 2004/05/24 03:51:04 itojun Exp $ */
/* $KAME: ndp.c,v 1.104 2003/06/27 07:48:39 itojun Exp $ */
/*
@@ -1427,6 +1427,7 @@
strlcpy(dummyif, "lo0", sizeof(dummyif)); /* dummy */
if (ioctl(s, SIOCSPFXFLUSH_IN6, (caddr_t)&dummyif) < 0)
err(1, "ioctl(SIOCSPFXFLUSH_IN6)");
+ close(s);
}
void
Home |
Main Index |
Thread Index |
Old Index