diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-18 10:47:35 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-18 10:47:35 +0000 |
commit | 2aff867b912a01da627f87bed28384b9ee2e2765 (patch) | |
tree | 637790c80de9f5a81226dc4265aac7a6144efc61 /sys/netinet/if_ether.c | |
parent | 5721fd177e5eed07c78ba3af33aa92587162bc05 (diff) |
Rename rt_gettable() into rtable_get(), swap its arguments to be
coherent with the existing rtable_* functions and document it.
While here fix some other manpage glitches pointed out by jmc@.
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r-- | sys/netinet/if_ether.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 9910a1c52e1..5a49c5acd61 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.120 2014/03/11 10:31:29 mpi Exp $ */ +/* $OpenBSD: if_ether.c,v 1.121 2014/03/18 10:47:34 mpi Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -1131,7 +1131,7 @@ int db_show_arptab(void) { struct radix_node_head *rnh; - rnh = rt_gettable(AF_INET, 0); + rnh = rtable_get(0, AF_INET); db_printf("Route tree for AF_INET\n"); if (rnh == NULL) { db_printf(" (not initialized)\n"); |