Package: eagle-usb-utils
Version: 2.1.1-2

I find a small bug in eagleconfig, exactly in eagleconfig_front.bash.

Despite of the provider you select with eagleconfig, eagle-usb always
use PPPoA instead of PPPoE or None.

This is because in /etc/eagle-usb/setvars:
(...)
encapsToPppox() {
        if [ "$1" = "00000001" ] || [ "$1" = "00000002" ] ; then
                pppoe -h 1>/dev/null 2>/dev/null
(...)
is expecting seven zeros and eagleconfig_front.bash only put six zeros
in ENC.

This patch fix it:

--- /usr/sbin/eagleconfig_front.bash    2005-11-02 01:42:17.000000000
+0100
+++ /usr/sbin/eagleconfig_front.bash.orig       2005-11-02
01:41:55.000000000 +0100
@@ -198,7 +198,7 @@
 # translate params to 8 chars hex values
 VPI="000000$VPI"
 VCI="000000$VCI"
-ENC="0000000$ENC"
+ENC="000000$ENC"
 # $ENC => $PPPOX
 encapsToPppox "$ENC"



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to