Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/sbin/ifconfig Actually create the tap(4) with a negati...



details:   https://anonhg.NetBSD.org/src/rev/c937b8bf032f
branches:  trunk
changeset: 935144:c937b8bf032f
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu Jun 25 16:52:49 2020 +0000

description:
Actually create the tap(4) with a negative device number. Doh.

diffstat:

 tests/sbin/ifconfig/t_tap.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a81129b1c085 -r c937b8bf032f tests/sbin/ifconfig/t_tap.sh
--- a/tests/sbin/ifconfig/t_tap.sh      Thu Jun 25 16:40:40 2020 +0000
+++ b/tests/sbin/ifconfig/t_tap.sh      Thu Jun 25 16:52:49 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_tap.sh,v 1.2 2020/06/25 15:43:26 jruoho Exp $
+# $NetBSD: t_tap.sh,v 1.3 2020/06/25 16:52:49 jruoho Exp $
 #
 # Copyright (c) 2020 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -88,7 +88,7 @@
 
 overflow_cleanup() {
 
-       ifconfig tap65537
+       ifconfig tap65537 create
 
        if [ $? -eq 0 ]; then
                ifconfig tap65537 destroy



Home | Main Index | Thread Index | Old Index