Package: tayga
Version: 0.9.2-4
Severity: minor

Dear Maintainer,

There are two places in /etc/init.d/tayga where the tun device is statically
defined as "nat64". They can be easily replaced. Patch attached.

Thanks,
Benoit

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tayga depends on:
ii  libc6  2.13-37

tayga recommends no packages.

tayga suggests no packages.

-- Configuration Files:
/etc/default/tayga changed [not included]
/etc/tayga.conf changed [not included]

-- no debconf information
--- /etc/init.d/tayga	2013-02-15 19:43:53.282899015 +0100
+++ tayga.new	2013-02-16 12:44:52.409117367 +0100
@@ -107,8 +107,8 @@
     if [ "x$CONFIGURE_IFACE" = "xyes" ] ; then
 		$DAEMON --mktun
 		ip link set $TUN_DEVICE up
-		ip route add $DYNAMIC_POOL dev nat64
-		ip route add $IPV6_PREFIX dev nat64
+		ip route add $DYNAMIC_POOL dev $TUN_DEVICE
+		ip route add $IPV6_PREFIX dev $TUN_DEVICE
     fi
     [ "x$CONFIGURE_NAT44" = "xyes" ] && iptables -t nat -A POSTROUTING -s $DYNAMIC_POOL -j MASQUERADE || true
 

Reply via email to