Skip to content
Commit dcab5e1e authored by David Engel's avatar David Engel Committed by Arnaldo Carvalho de Melo
Browse files

[IPV4]: Fix setting broadcast for SIOCSIFNETMASK



Fix setting of the broadcast address when the netmask is set via
SIOCSIFNETMASK in Linux 2.6.  The code wanted the old value of
ifa->ifa_mask but used it after it had already been overwritten with
the new value.

Signed-off-by: default avatarDavid Engel <gigem@comcast.net>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@mandriva.com>
parent 95df1c04
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment