X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/af1883866321fb94bbdca9013ea665d890549104..246ca110d152b6483fd8c1c176a570858307f76b:/print-sflow.c diff --git a/print-sflow.c b/print-sflow.c index 7111c708..ba79e6a6 100644 --- a/print-sflow.c +++ b/print-sflow.c @@ -19,7 +19,7 @@ /* \summary: sFlow protocol printer */ -/* specification: http://www.sflow.org/developers/specifications.php */ +/* specification: https://sflow.org/developers/specifications.php */ #ifdef HAVE_CONFIG_H #include @@ -893,7 +893,7 @@ sflow_print(netdissect_options *ndo, ND_PRINT("sFlowv%u, %s agent %s, agent-id %u, length %u", GET_BE_U_4(sflow_datagram->version), GET_BE_U_4(sflow_datagram->ip_version) == 1 ? "IPv4" : "IPv6", - ipaddr_string(ndo, sflow_datagram->agent), + GET_IPADDR_STRING(sflow_datagram->agent), GET_BE_U_4(sflow_datagram->agent_id), len); return; @@ -904,7 +904,7 @@ sflow_print(netdissect_options *ndo, ND_PRINT("sFlowv%u, %s agent %s, agent-id %u, seqnum %u, uptime %u, samples %u, length %u", GET_BE_U_4(sflow_datagram->version), GET_BE_U_4(sflow_datagram->ip_version) == 1 ? "IPv4" : "IPv6", - ipaddr_string(ndo, sflow_datagram->agent), + GET_IPADDR_STRING(sflow_datagram->agent), GET_BE_U_4(sflow_datagram->agent_id), GET_BE_U_4(sflow_datagram->seqnum), GET_BE_U_4(sflow_datagram->uptime),