summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 267a9e350ba..49b675f10b4 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.263 2023/02/18 18:07:38 claudio Exp $ */
+/* $OpenBSD: route.c,v 1.264 2023/03/15 08:43:51 claudio Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@ -511,7 +511,7 @@ setsource(int argc, char **argv)
}
if (argc <= 0 && ifindex == 0)
- printsource(af, tableid);
+ printsource(AF_UNSPEC, tableid);
if (argc > 1 && ifindex == 0)
usage(NULL);