]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: Fix a typo in the listener subsystem
authorJoseph Herlant <aerostitch@debian.org>
Sun, 25 Nov 2018 21:36:58 +0000 (13:36 -0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 17:43:28 +0000 (18:43 +0100)
Fixes a typo in the code comment of the listener subsystem.

include/types/listener.h

index 05b363c2bc53d1cbcc16520c998fe79673b343b1..0c82a4ac9749941d291e915b8066f9599d819f1d 100644 (file)
@@ -87,7 +87,7 @@ enum li_state {
 /* listener socket options */
 #define LI_O_NONE               0x0000
 #define LI_O_NOLINGER           0x0001  /* disable linger on this socket */
-#define LI_O_FOREIGN            0x0002  /* permit listening on foreing addresses ("transparent") */
+#define LI_O_FOREIGN            0x0002  /* permit listening on foreign addresses ("transparent") */
 #define LI_O_NOQUICKACK         0x0004  /* disable quick ack of immediate data (linux) */
 #define LI_O_DEF_ACCEPT         0x0008  /* wait up to 1 second for data before accepting */
 #define LI_O_TCP_L4_RULES       0x0010  /* run TCP L4 rules checks on the incoming connection */