Module Name:    src
Committed By:   roy
Date:           Sun Mar 15 21:15:25 UTC 2020

Modified Files:
        src/tests/net/ndp: t_ndp.sh

Log Message:
tests: ndp_rtm: Check correct source address in RTA_AUTHOR

Fixes PR kern/55074.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/tests/net/ndp/t_ndp.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/net/ndp/t_ndp.sh
diff -u src/tests/net/ndp/t_ndp.sh:1.37 src/tests/net/ndp/t_ndp.sh:1.38
--- src/tests/net/ndp/t_ndp.sh:1.37	Wed Mar 11 08:52:13 2020
+++ src/tests/net/ndp/t_ndp.sh	Sun Mar 15 21:15:25 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: t_ndp.sh,v 1.37 2020/03/11 08:52:13 roy Exp $
+#	$NetBSD: t_ndp.sh,v 1.38 2020/03/15 21:15:25 roy Exp $
 #
 # Copyright (c) 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -472,7 +472,7 @@ ndp_rtm_body()
 
 	hdr="RTM_MISS.+<DONE>"
 	what="<DST,GATEWAY,AUTHOR>"
-	addr="$IP6DST_FAIL1 link#2 $IP6DST"
+	addr="$IP6DST_FAIL1 link#2 $IP6SRC"
 	atf_check -s exit:0 -o match:"$hdr" -o match:"$what" -o match:"$addr" \
 		cat $file
 

Reply via email to