commit | 3baec249b199048721299820f8543e8552fd98ee | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Sep 16 20:35:12 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 16 22:08:08 2020 +0200 |
tree | feaad26b46e94c9e117b5ad6fcab6b92c035df2d | |
parent | e835bd8f9105c8ea03c0a1596bd42de999a1d426 [diff] |
MEDIUM: tools: make str2sa_range() only report AF_CUST_UDP on listeners For now only listeners can make use of AF_CUST_UDP and it requires hacks in the DNS and logsrv code to remap it to AF_INET. Make str2sa_range() smarter by detecting that it's called for a listener and only set these protocol families for listeners. This way we can get rid of the hacks.