Re: [rock-user] Broadcast address for network interfaces

Bernd Petrovitsch <[email protected]> Thu, 27 Oct 2005 00:45:55 +0200
Newsgroups gmane.linux.distributions.rock.user
Organization http://www.firmix.at/
Message-ID <[email protected]>
On Thu, 2005-10-27 at 00:18 +0200, Bernd Petrovitsch wrote:
> How is one expected to set the broadcast address for network
> interfaces with stone in -stable?
> I can't find anything relevant in the options. And actually th broadcast
> addresscan be calculated and set automagically.

Done. Just apply the attached patch to a running Rock-stable.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services

_______________________________________________
rock-user mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-user
iproute2.sh-patch (text/plain, 307 B)
--- /etc/network/modules/iproute2.sh-orig	2005-10-27 00:46:39.304042388 +0200
+++ /etc/network/modules/iproute2.sh	2005-10-27 00:45:28.142863877 +0200
@@ -8,7 +8,7 @@
 }
 
 public_ip() {
-	addcode up 5 5 "ip addr add $1 dev $if"
+	addcode up 5 5 "ip addr add $1 broadcast + dev $if"
 	iproute2_init_if
 }