Comment 14 for bug 1466129

Revision history for this message
mdavidsaver (mdavidsaver) wrote :

Looking at this again I have some questions about what should be allowed EPICS_CAS_INTF_ADDR_LIST, and show localhost should be handled.

> fail - Setting EPICS_CAS_INTF_ADDR_LIST to 127.0.0.1 does not create the listener for the loopback broadcast address

As you mention this is because loopback does not usually set IFF_BROADCAST although it can. Of course the fact that osiSockDiscoverBroadcastAddresses() explicitly ignores when IFF_LOOPBACK seems like the real problem.

I've made a change which does this, but needs testing on all non-linux except win32.

https://github.com/mdavidsaver/epics-base/commit/c5783e3af454bad32a98707f7431c27be13c3890

> fail - Setting EPICS_CAS_INTF_ADDR_LIST to a broadcast address

Should this be allowed? What should it mean? My inclination is to say no.

> enh - Why not remove the limitation to the first IP address

One thing at a time :)