Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/mountd fix comment, from kre
details: https://anonhg.NetBSD.org/src/rev/8966157baec0
branches: trunk
changeset: 342480:8966157baec0
user: christos <christos%NetBSD.org@localhost>
date: Thu Dec 24 01:41:19 2015 +0000
description:
fix comment, from kre
diffstat:
usr.sbin/mountd/get_net.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f0669b3c22df -r 8966157baec0 usr.sbin/mountd/get_net.c
--- a/usr.sbin/mountd/get_net.c Thu Dec 24 01:10:51 2015 +0000
+++ b/usr.sbin/mountd/get_net.c Thu Dec 24 01:41:19 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: get_net.c,v 1.1 2015/12/23 16:19:49 christos Exp $ */
+/* $NetBSD: get_net.c,v 1.2 2015/12/24 01:41:19 christos Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: get_net.c,v 1.1 2015/12/23 16:19:49 christos Exp $");
+__RCSID("$NetBSD: get_net.c,v 1.2 2015/12/24 01:41:19 christos Exp $");
#include <sys/types.h>
#include <netdb.h>
@@ -160,7 +160,7 @@
}
/*
- * Only allow /pref notation for v6 addresses.
+ * Disallow v6 addresses without a specific mask or masklen
*/
if (sa->sa_family == AF_INET6 && (!(opt_flags & OP_MASKLEN) || maskflg))
return 1;
Home |
Main Index |
Thread Index |
Old Index