]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Set broadcast address for IPv4 addresses on virtual network bridges
authorLaine Stump <laine@laine.org>
Fri, 31 Dec 2010 08:57:37 +0000 (03:57 -0500)
committerLaine Stump <laine@laine.org>
Fri, 31 Dec 2010 16:34:24 +0000 (11:34 -0500)
commit2eeeb60152ade471331ac83660bddb482935cae5
tree40547df10c26481a93db97ac7ded9f703da882dc
parent86387878b0a00832b8980b00adc35f7f05dfa220
Set broadcast address for IPv4 addresses on virtual network bridges

Previously we used ioctl() to set the IP address and netmask of the
bridges used for virtual networks, and apparently the SIOCSIFNETMASK
ioctl implicitly set the broadcast address for the interface. The new
method of using the "ip" command requires broadcast address to be
explicitly specified though.
src/util/bridge.c