[sr-dev] git:master:36817c3e: core: cfg.lex - accept IPv4/6 as alternative keywords for INET/6

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 9 12:29:04 CEST 2021


Module: kamailio
Branch: master
Commit: 36817c3ea53daae9706c1caa695af98f9ca987bd
URL: https://github.com/kamailio/kamailio/commit/36817c3ea53daae9706c1caa695af98f9ca987bd

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-06-09T12:19:24+02:00

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

---

Modified: src/core/cfg.lex

---

Diff:  https://github.com/kamailio/kamailio/commit/36817c3ea53daae9706c1caa695af98f9ca987bd.diff
Patch: https://github.com/kamailio/kamailio/commit/36817c3ea53daae9706c1caa695af98f9ca987bd.patch

---

diff --git a/src/core/cfg.lex b/src/core/cfg.lex
index ff8096d9f2..45d9114c05 100644
--- a/src/core/cfg.lex
+++ b/src/core/cfg.lex
@@ -512,8 +512,8 @@ TLS			"tls"|"TLS"
 SCTP		"sctp"|"SCTP"
 WS		"ws"|"WS"
 WSS		"wss"|"WSS"
-INET		"inet"|"INET"
-INET6		"inet6"|"INET6"
+INET		"inet"|"INET"|"ipv4"|"IPv4"|"IPV4"
+INET6		"inet6"|"INET6"|"ipv6"|"IPv6"|"IPV6"
 SSLv23			"sslv23"|"SSLv23"|"SSLV23"
 SSLv2			"sslv2"|"SSLv2"|"SSLV2"
 SSLv3			"sslv3"|"SSLv3"|"SSLV3"




More information about the sr-dev mailing list