post...@ptld.com: > The part i am still confused about is the perceived behavior > difference between > > inet_interfaces = all > inet_interfaces = ipv4, ipv6
inet_interfaces takes 'all' or a list of IP addresses. It will also take hostnames but such configuration is fragile; however if you do have hostnames 'ipv6' and 'ipv6' then the above would do something. For the remainder of this response I assume that you mean inet_protocols which takes all, ipv4, and/or ipv6. > Is there something in the code that treats these differently? inet_protocols makes no difference. The inet_interfaces value is converted into a bitmask that does not depend on the order of all, ipv4, and/or ipv6. inet_protocols=ipv4 converts into 1 (2<<0) inet_protocols=ipv6 converts into 2 (2<<1) inet_protocols=all converts into 3 (2<<0 + 2<<1) inet_protocols=ipv4,ipv6 converts into 3 (2<<0 + 2<<1) inet_protocols=ipv6,ipv4 converts into 3 (2<<0 + 2<<1) inet_protocols=all,ipv4,ipv6 converts into 3 (2<<0 + 2<<1) inet_protocols=all,ipv6,ipv4 converts into 3 (2<<0 + 2<<1) and so on for other permutations of the same. Wietse