diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-04-04 00:43:46 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-04-04 00:43:46 -0700 |
commit | 1cde6435df23876fb88998e38739def0dc7dca47 (patch) | |
tree | bdd17f2de3c9b1588da3ef07daf803f51761db0c /print-geonet.c | |
parent | ed58b28d5400642cbd797e280d12b3f1b638e850 (diff) | |
download | tcpdump-1cde6435df23876fb88998e38739def0dc7dca47.tar.gz |
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.
Diffstat (limited to 'print-geonet.c')
-rw-r--r-- | print-geonet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-geonet.c b/print-geonet.c index 229b2540..ee7292c2 100644 --- a/print-geonet.c +++ b/print-geonet.c @@ -89,7 +89,7 @@ print_long_pos_vector(netdissect_options *ndo, { u_int32_t lat, lon; - ND_PRINT((ndo, "GN_ADDR:%s ", linkaddr_string (bp, 0, GEONET_ADDR_LEN))); + ND_PRINT((ndo, "GN_ADDR:%s ", linkaddr_string (ndo, bp, 0, GEONET_ADDR_LEN))); lat = EXTRACT_32BITS(bp+12); ND_PRINT((ndo, "lat:%d ", lat)); @@ -105,7 +105,7 @@ print_long_pos_vector(netdissect_options *ndo, void geonet_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length) { - ND_PRINT((ndo, "GeoNet src:%s; ", etheraddr_string(eth+6))); + ND_PRINT((ndo, "GeoNet src:%s; ", etheraddr_string(ndo, eth+6))); if (length >= 36) { /* Process Common Header */ |