If you specified `y' (yes) to the configuration question during `make config' wether or not you wanted VIRTUAL HOSTING, then now you can specify the interface that you want the daemon to bind to by IP-number on the command line.
Example:
$ ircd -w 123.456.789.012
The given parameter must resolv with gethostbyname(3).
You can use the UNIX command `ifconfig -a' to find out which interfaces you have and what the IP-number of these interfaces is. For example:
$ ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:7722 errors:0 dropped:0 overruns:0
TX packets:7722 errors:0 dropped:0 overruns:0
dummy Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:194.109.13.237 Bcast:194.109.13.237 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
No statistics available.
eth0 Link encap:Ethernet HWaddr 00:60:8C:92:A1:FC
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5066928 errors:0 dropped:0 overruns:0
TX packets:1890010 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300
ippp0 Link encap:Point-to-Point Protocol
inet addr:194.109.13.237 P-t-P:194.109.6.1 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Shows that I have four interfaces with three different the IP-numbers:
127.0.0.1, 194.109.13.237 and 192.168.1.1.
If no -w command line option is given, the daemon falls back to trying
to resolve the servername as specified in the M: line.