]> The Tcpdump Group git mirrors - tcpdump/commitdiff
BOOTP: Fix a typo in a macro name
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 14 Aug 2023 07:56:15 +0000 (09:56 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 13 Oct 2023 11:52:42 +0000 (13:52 +0200)
(cherry picked from commit a028658aa82d1fd43494fc4b1061f3a989ef320a)

[skip ci]

print-bootp.c

index f6c6e995c4fdfa85dd0ad2bad9985b962f353814..6ab6079d870599cf6e4a3ec99d2cfcd163ab6859 100644 (file)
@@ -147,7 +147,7 @@ struct bootp {
 #define        TAG_NIS_P_DOMAIN        ((uint8_t)  64)
 #define        TAG_NIS_P_SERVERS       ((uint8_t)  65)
 #define        TAG_MOBILE_HOME         ((uint8_t)  68)
-#define        TAG_SMPT_SERVER         ((uint8_t)  69)
+#define        TAG_SMTP_SERVER         ((uint8_t)  69)
 #define        TAG_POP3_SERVER         ((uint8_t)  70)
 #define        TAG_NNTP_SERVER         ((uint8_t)  71)
 #define        TAG_WWW_SERVER          ((uint8_t)  72)
@@ -463,7 +463,7 @@ static const struct tok tag2str[] = {
        { TAG_NIS_P_DOMAIN,     "sN+D" },
        { TAG_NIS_P_SERVERS,    "iN+S" },
        { TAG_MOBILE_HOME,      "iMH" },
-       { TAG_SMPT_SERVER,      "iSMTP" },
+       { TAG_SMTP_SERVER,      "iSMTP" },
        { TAG_POP3_SERVER,      "iPOP3" },
        { TAG_NNTP_SERVER,      "iNNTP" },
        { TAG_WWW_SERVER,       "iWWW" },