From 1cde6435df23876fb88998e38739def0dc7dca47 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 4 Apr 2014 00:43:46 -0700 Subject: Netdissectify the to-name resolution routines. Have them take a netdissect_options * argument, and get the "no name resolution" flag from it. Move the declaration of dnaddr_string to addrtoname.h, along with the other XXX-to-string routines. --- print-ripng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-ripng.c') diff --git a/print-ripng.c b/print-ripng.c index 17b0ef72..9a5dba43 100644 --- a/print-ripng.c +++ b/print-ripng.c @@ -98,7 +98,7 @@ static int rip6_entry_print(netdissect_options *ndo, register const struct netinfo6 *ni, int metric) { int l; - l = ND_PRINT((ndo, "%s/%d", ip6addr_string(&ni->rip6_dest), ni->rip6_plen)); + l = ND_PRINT((ndo, "%s/%d", ip6addr_string(ndo, &ni->rip6_dest), ni->rip6_plen)); if (ni->rip6_tag) l += ND_PRINT((ndo, " [%d]", EXTRACT_16BITS(&ni->rip6_tag))); if (metric) -- cgit v1.2.1