Package: ifupdown
Version: 0.7.47.2
Severity: normal
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hello,

When IPv6 is enabled on the Hurd (which is now the default), showtrans
outputs a -6 option, which disturbs fsysopts.  The attached patch makes
use of fsysopts instead, which doesn't emit the -6 option, and actually
fixes static configuration since showtrans dumps outdated information.

Samuel

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

Kernel: Linux 3.13.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ifupdown depends on:
ii  adduser      3.113+nmu3
ii  initscripts  2.88dsf-45
ii  iproute2     3.12.0-1
ii  libc6        2.17-97
ii  lsb-base     4.1+Debian12

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.2.4-7

Versions of packages ifupdown suggests:
ii  net-tools  1.60-25
ii  ppp        2.4.5+git20130610-3
ii  rdnssd     1.0.1-1+b1

-- debconf information excluded

-- 
Samuel
<c> ya(ka|ma|to)* ca existe une fois sur 2 au japon, c'est facile ;-)
 -+- #ens-mim au japon -+-
--- ifupdown-0.7.47.2/inet.defn 2013-10-19 16:56:23.000000000 +0000
+++ ifupdown-0.7.47.2/inet.defn 2014-01-30 00:28:28.000000000 +0000
@@ -390,7 +390,7 @@
     [[Warning: Option hwaddress: %hwaddress% not yet supported]]
     inetutils-ifconfig --interface %iface% --address %address% [[--netmask 
%netmask%]] \
     [[--broadcast %broadcast%]] [[--mtu %mtu%]] --up
-    [[fsysopts /servers/socket/2 $(showtrans /servers/socket/2) --gateway 
%gateway% ]]
+    [[fsysopts /servers/socket/2 $(fsysopts /servers/socket/2) --gateway 
%gateway% ]]
 
   down
     inetutils-ifconfig --interface %iface% --down

Reply via email to