Module Name:    src
Committed By:   jruoho
Date:           Thu Jun 25 16:52:50 UTC 2020

Modified Files:
        src/tests/sbin/ifconfig: t_tap.sh

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/sbin/ifconfig/t_tap.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/sbin/ifconfig/t_tap.sh
diff -u src/tests/sbin/ifconfig/t_tap.sh:1.2 src/tests/sbin/ifconfig/t_tap.sh:1.3
--- src/tests/sbin/ifconfig/t_tap.sh:1.2	Thu Jun 25 15:43:26 2020
+++ src/tests/sbin/ifconfig/t_tap.sh	Thu Jun 25 16:52:49 2020
@@ -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_body() {
 
 overflow_cleanup() {
 
-	ifconfig tap65537
+	ifconfig tap65537 create
 
 	if [ $? -eq 0 ]; then
 		ifconfig tap65537 destroy

Reply via email to