summaryrefslogtreecommitdiff
path: root/regress/sys/net/rtable
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2019-06-24 12:33:37 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2019-06-24 12:33:37 +0000
commita9c2f4dc6580a65f08c6000885ec6c8a2fc0eabe (patch)
tree02c7a53a175f5725cf50ce460cd4db8da3d32f7f /regress/sys/net/rtable
parent843d80f719f7270c08b4bc27707f76ea39b1b9e6 (diff)
Fix test after kernel interface change.
From Moritz Buhl
Diffstat (limited to 'regress/sys/net/rtable')
-rw-r--r--regress/sys/net/rtable/delete/main.c6
-rw-r--r--regress/sys/net/rtable/fullfeed/main.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/regress/sys/net/rtable/delete/main.c b/regress/sys/net/rtable/delete/main.c
index fdc22f71b35..8357c0a992a 100644
--- a/regress/sys/net/rtable/delete/main.c
+++ b/regress/sys/net/rtable/delete/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.5 2016/11/15 10:43:41 mpi Exp $ */
+/* $OpenBSD: main.c,v 1.6 2019/06/24 12:33:36 visa Exp $ */
/*
* Copyright (c) 2015 Martin Pieuchot
@@ -58,9 +58,9 @@ main(int argc, char *argv[])
do_from_file(0, AF_INET6, filename, route_insert);
- rtable_walk(0, AF_INET6, rtentry_delete, NULL);
+ rtable_walk(0, AF_INET6, NULL, rtentry_delete, NULL);
- rtable_walk(0, AF_INET6, rtentry_dump, NULL);
+ rtable_walk(0, AF_INET6, NULL, rtentry_dump, NULL);
#ifdef ART
struct art_root *ar;
diff --git a/regress/sys/net/rtable/fullfeed/main.c b/regress/sys/net/rtable/fullfeed/main.c
index 3e08be083a1..fc5ddf95c9a 100644
--- a/regress/sys/net/rtable/fullfeed/main.c
+++ b/regress/sys/net/rtable/fullfeed/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.3 2016/11/15 10:43:41 mpi Exp $ */
+/* $OpenBSD: main.c,v 1.4 2019/06/24 12:33:36 visa Exp $ */
/*
* Copyright (c) 2015 Martin Pieuchot
@@ -53,7 +53,7 @@ main(int argc, char *argv[])
do_from_file(0, af, filename, route_insert);
do_from_file(0, af, filename, route_lookup);
- rtable_walk(0, af, rtentry_dump, NULL);
+ rtable_walk(0, af, NULL, rtentry_dump, NULL);
do_from_file(0, af, filename, route_delete);