Browse code

core: cfg.lex - accept IPv4/6 as alternative keywords for INET/6

Daniel-Constantin Mierla authored on 09/06/2021 10:19:24
Showing 1 changed files
... ...
@@ -512,8 +512,8 @@ TLS			"tls"|"TLS"
512 512
 SCTP		"sctp"|"SCTP"
513 513
 WS		"ws"|"WS"
514 514
 WSS		"wss"|"WSS"
515
-INET		"inet"|"INET"
516
-INET6		"inet6"|"INET6"
515
+INET		"inet"|"INET"|"ipv4"|"IPv4"|"IPV4"
516
+INET6		"inet6"|"INET6"|"ipv6"|"IPv6"|"IPV6"
517 517
 SSLv23			"sslv23"|"SSLv23"|"SSLV23"
518 518
 SSLv2			"sslv2"|"SSLv2"|"SSLV2"
519 519
 SSLv3			"sslv3"|"SSLv3"|"SSLV3"