]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: Fix typo in ARGT_MSK6 comment
authorTim Duesterhus <tim@bastelstu.be>
Thu, 25 Jan 2018 15:24:47 +0000 (16:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Jan 2018 21:25:40 +0000 (22:25 +0100)
The incorrect comment was introduced in commit:
2ac5718dbd4ec722ece228e9f613d2be74eee9da

v1.5-dev9 is the first tag containing this comment, the fix
should be backported to haproxy 1.5 and newer.

include/types/arg.h

index 651164b2db5d571dc5f949d2ee2d859401a313d7..c3b09deffff9071617a5863e6a37ad2b76e56f03 100644 (file)
@@ -49,7 +49,7 @@ enum {
        ARGT_IPV4,     /* an IPv4 address */
        ARGT_MSK4,     /* an IPv4 address mask (integer or dotted), stored as ARGT_IPV4 */
        ARGT_IPV6,     /* an IPv6 address */
-       ARGT_MSK6,     /* an IPv6 address mask (integer or dotted), stored as ARGT_IPV4 */
+       ARGT_MSK6,     /* an IPv6 address mask (integer or dotted), stored as ARGT_IPV6 */
        ARGT_TIME,     /* a delay in ms by default, stored as ARGT_UINT */
        ARGT_SIZE,     /* a size in bytes by default, stored as ARGT_UINT */
        ARGT_FE,       /* a pointer to a frontend only */