Rework socket handling again. Rather than
authorPhil Blundell <philb@gnu.org>
Sat, 14 Nov 1998 10:37:04 +0000 (10:37 +0000)
committerPhil Blundell <philb@gnu.org>
Sat, 14 Nov 1998 10:37:04 +0000 (10:37 +0000)
commit3d2c31233e3cb25a905fe11a8dd0e6c9f441a333
treec210699181c8a475db01835bf632a0050f8d9326
parent16ffd0f10f210c503b547be4cf6499b287f526dd
Rework socket handling again.  Rather than
issuing ioctls to a random socket and just
hoping, we do our best to pick the right one
for the address family in use.  This should
fix a bug reported for 1.47 where a command like
"ifconfig eth0 broadcast 1.0.0.255" picked on the
AF_APPLETALK socket and so didn't work.

Quite an invasive fix but hopefully the right one.
Andi, can you take a look since this is stuff you've
been working on recently.
13 files changed:
ifconfig.c
interface.c
lib/af.c
lib/ax25.c
lib/ddp.c
lib/econet.c
lib/inet.c
lib/inet6.c
lib/ipx.c
lib/net-support.h
lib/rose.c
lib/unix.c
sockets.c