summaryrefslogtreecommitdiff
path: root/sbin/route/show.h
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2018-04-30 10:32:03 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2018-04-30 10:32:03 +0000
commit59f2a922478cbc38ecd9dfe4e81ffed3138393cc (patch)
treea84da073d18d025899bdb752d8a939bbd9599f06 /sbin/route/show.h
parent4e63c1e84baf23f564b51faa9da68724ace9791e (diff)
tableid is either initialized to the current routing table or to the
one specified by the T flag. No need to pass a flag around if the tableid is valid. It always is. This code is now in sync between flushroutes() and p_rttables(). OK benno, no objection claudio
Diffstat (limited to 'sbin/route/show.h')
-rw-r--r--sbin/route/show.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/route/show.h b/sbin/route/show.h
index 14c8b0e9c11..03999b7fdd7 100644
--- a/sbin/route/show.h
+++ b/sbin/route/show.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: show.h,v 1.12 2016/12/13 08:40:54 mpi Exp $ */
+/* $OpenBSD: show.h,v 1.13 2018/04/30 10:32:02 florian Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -29,7 +29,7 @@ union sockunion {
};
void get_rtaddrs(int, struct sockaddr *, struct sockaddr **);
-void p_rttables(int, u_int, int, char);
+void p_rttables(int, u_int, char);
void p_sockaddr(struct sockaddr *, struct sockaddr *, int, int);
char *routename(struct sockaddr *);
char *netname(struct sockaddr *, struct sockaddr *);