X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/d2aa4eec28a011b739a68cc1258a97d880215574..9178fd8a959af7e6e5fb3a9d4cc23c76598e721e:/print-lisp.c diff --git a/print-lisp.c b/print-lisp.c index 27cca1a7..47afe503 100644 --- a/print-lisp.c +++ b/print-lisp.c @@ -26,9 +26,10 @@ * POSSIBILITY OF SUCH DAMAGE. */ +/* \summary: - Locator/Identifier Separation Protocol (LISP) printer */ + /* - * netdissect printer for LISP - Locator/Identifier Separation Protocol - * RFC 6830 + * specification: RFC 6830 * * * The Map-Register message format is: @@ -305,7 +306,7 @@ void lisp_print(netdissect_options *ndo, const u_char *bp, u_int length) switch (eid_afi) { case IPv4_AFI: ND_TCHECK2(*(packet_iterator + packet_offset), 4); - ND_PRINT((ndo, " EID %s/%u,", getname(ndo, + ND_PRINT((ndo, " EID %s/%u,", ipaddr_string(ndo, packet_iterator + packet_offset), mask_len)); packet_offset += 4; break; @@ -338,7 +339,7 @@ void lisp_print(netdissect_options *ndo, const u_char *bp, u_int length) switch (loc_afi) { case IPv4_AFI: ND_TCHECK2(*(packet_iterator + packet_offset), 4); - ND_PRINT((ndo, " LOC %s", getname(ndo, loc_ip_pointer))); + ND_PRINT((ndo, " LOC %s", ipaddr_string(ndo, loc_ip_pointer))); packet_offset += 4; break; case IPv6_AFI: