tags 386553 patch
thanks
Hello Luis,
you should spend some more time to try to reproduce bugs.
This issue occur, if you set in /etc/ipkungfu.conf:
GATEWAY=0
Please dont get it wrong, bit are you experienced in shell programming?
It would help maintaining the package and is easy to learn.
It is a common mistake to not quote ("") variables in scripts.
This Patch fixes this particular issue, but please check the whole
script for similar problems:
----------8<---------------------------------------------------
--- /tmp/ipkungfu.orig 2006-10-13 21:25:23.493930973 +0200
+++ /usr/sbin/ipkungfu 2006-10-13 21:23:05.000000000 +0200
@@ -881,12 +881,12 @@
echo "Your internal interface is: $INT_NET"
done
echo -n "You "
- if [ $IP_FORWARD != 1 ] ; then
+ if [ "$IP_FORWARD" != 1 ] ; then
echo -n "do NOT "
fi
echo "want IP forwarding"
echo -n "You "
- if [ $MASQ_LOCAL_NET != 1 ] ; then
+ if [ "$MASQ_LOCAL_NET" != 1 ] ; then
echo -n "do NOT "
fi
echo "want IP masquerading"
----------8<--------------------------------------------------
Please send it upstream.
After fixing this, I would sponsor your package.
Kindly regards,
Erik
--
www.ErikSchanze.de *********************************************
Bitte keine HTML-E-Mails! No HTML mails, please! Limit: 100 kB *
- 5. Linux-Info-Tag in Dresden, Ende Oktober 2007 *
Info: http://www.linux-info-tag.de/ *
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]