Package: kvpnc-data Version: 0.9.6a-2.1 Severity: minor Tags: patch Dear Maintainer, *** Please consider answering these questions, where appropriate ***
* What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** ping_check.sh relies on ping for connection status (if enabled in profile settings) and the vpn connection terminates/reconnects if there is no ping answer. The script fails to properly parse the command output. ping command from inetutils-ping. regards, frank -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.12.0-tahiti (SMP w/8 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash kvpnc-data depends on no packages. Versions of packages kvpnc-data recommends: ii kvpnc 0.9.6a-2.1 kvpnc-data suggests no packages. -- no debconf information
--- ping_check.sh.orig 2013-11-19 11:19:47.953807543 +0100 +++ ping_check.sh 2013-11-19 11:20:09.172206462 +0100 @@ -70,7 +70,7 @@ if [ $QUIET -eq '1' ]; then echo -n "Ping sequence "$count": " fi - if [ "x" = "x$(ping -c 1 -w 5 $DEVICECMD $PINGHOST 2>&1 | grep '1 received')" ]; then + if [ "x" = "x$(ping -c 1 -w 5 $DEVICECMD $PINGHOST 2>&1 | grep '1 packets received')" ]; then fails=`expr $fails + 1` if [ $QUIET -eq '1' ]; then echo "failed!"