]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: protocols: use is_inet_addr() when only INET addresses are desired
authorWilly Tarreau <w@1wt.eu>
Fri, 9 May 2014 20:56:10 +0000 (22:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 May 2014 23:26:37 +0000 (01:26 +0200)
commit9cf8d3f46bc855e24c9f70f6518f0bd120e544c1
treefe47638d40ba4a04a0fcb04f9d19b9d0155ef6d9
parent18ca2d48bf495a11c0a598ea211a18bf54535801
MINOR: protocols: use is_inet_addr() when only INET addresses are desired

We used to have is_addr() in place to validate sometimes the existence
of an address, sometimes a valid IPv4 or IPv6 address. Replace them
carefully so that is_inet_addr() is used wherever we can only use an
IPv4/IPv6 address.
src/backend.c
src/cfgparse.c
src/proto_tcp.c
src/server.c