]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-bootp.c
sFlow: Add a test capture file
[tcpdump] / print-bootp.c
index 89bd59bee7d6c0f8987c205c4e6252ce84be86ac..2bc8bb6bcf6ccd0cd4cd93086c2a397518401f4f 100644 (file)
@@ -512,7 +512,7 @@ static const struct tok tag2str[] = {
        { TAG_CLASSLESS_STA_RT_MS, "$Classless-Static-Route-Microsoft" },
 /* RFC 5859 - TFTP Server Address Option for DHCPv4 */
        { TAG_TFTP_SERVER_ADDRESS, "iTFTP-Server-Address" },
-/* http://www.iana.org/assignments/bootp-dhcp-extensions/index.htm */
+/* https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml#options */
        { TAG_SLP_NAMING_AUTH,  "aSLP-NA" },
        { TAG_CLIENT_FQDN,      "$FQDN" },
        { TAG_AGENT_CIRCUIT,    "$Agent-Information" },
@@ -1055,7 +1055,7 @@ trunc:
        nd_print_trunc(ndo);
 }
 
-#define PRINTCMUADDR(m, s) { ND_TCHECK_4(&cmu->m); \
+#define PRINTCMUADDR(m, s) { ND_TCHECK_4(cmu->m); \
     if (GET_IPV4_TO_NETWORK_ORDER(cmu->m) != 0) \
        ND_PRINT(" %s:%s", s, ipaddr_string(ndo, cmu->m)); }