Package: gogoc Version: 1:1.2-2 Severity: normal Tags: patch ipv6 Hi, I've just spent some time trying to work out how to make gogoc work with either interface in my laptop, before discovering in the source that if_prefix can be blank. (gogoc doesn't appear to dynamically switch between interfaces, but it does let you stop the tunnel, ifdown wlan0; ifup eth0; start tunnel).
Please consider the attached patch (or something like it) to help others using this program. thanks, kk -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gogoc depends on: ii iproute 20100519-3 networking and traffic control too ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-8 GCC support library ii libssl0.9.8 0.9.8o-4squeeze1 SSL shared libraries ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii net-tools 1.60-23 The NET-3 networking toolkit Versions of packages gogoc recommends: pn radvd <none> (no description available) gogoc suggests no packages. -- Configuration Files: /etc/gogoc/gogoc.conf [Errno 13] Permission denied: u'/etc/gogoc/gogoc.conf' -- no debconf information
diff -ruNa gogoc-1.2/gogoc-tsp/conf/gogoc.conf.in gogoc-1.2.cfg/gogoc-tsp/conf/gogoc.conf.in --- gogoc-1.2/gogoc-tsp/conf/gogoc.conf.in 2011-08-04 10:47:35.000000000 +1000 +++ gogoc-1.2.cfg/gogoc-tsp/conf/gogoc.conf.in 2011-08-04 11:05:43.474701851 +1000 @@ -98,6 +98,7 @@ # Name of the interface that will be configured to send router advertisements. # This is an interface index on Windows (ex: 4) and a name on Linux # and BSD (ex: eth1 or fxp1). +# This can be blank unless host_type is set to router. # # if_prefix=<interface name> #