[Chilli] DHCP sends invalid mask 0.0.0.0
Victor Abramoff
abramoff at sipnet.ru
Tue Jun 28 08:24:53 UTC 2011
> what kind of system? Can you try the version in subversion?
Centos-4.9, 2.6.9-100.EL. The Chilli has been compiled from default spec
with default set of features. I try svn 444, the bug seems to be fixed.
Also, please include cosmetic RedHat init patch. Thanks.
--- conf/chilli.orig 2011-06-28 11:44:38.000000000 +0400
+++ conf/chilli 2011-06-28 12:11:57.000000000 +0400
@@ -74,7 +74,7 @@
}
ifconfig $HS_LANIF 0.0.0.0
- if [ "$(which start-stop-daemon)" = "" ]; then
+ if [ "$(which start-stop-daemon 2>/dev/null)" = "" ]; then
/usr/sbin/chilli -c $CONFIG --pidfile=$pidfile &
else
start-stop-daemon -S --pidfile=$pidfile --user=chilli \
@@ -104,7 +104,7 @@
crontab -l 2>&- | grep -v $0 | crontab -
- if [ "$(which start-stop-daemon)" != "" ]; then
+ if [ "$(which start-stop-daemon 2>/dev/null)" != "" ]; then
start-stop-daemon -K --pidfile=$pidfile --user=chilli \
/usr/sbin/chilli
fi
More information about the Chilli
mailing list