Subject: ifupdown: s/"$mac" = "$/"$mac" == "$/ in get-mac-address.sh Package: ifupdown Version: 0.6.8+nmu1 Severity: normal Tags: patch
The /usr/share/doc/ifupdown/examples/get-mac-address.sh script has a bug. It misses a '=' sign in a test.
-- System Information: Debian Release: 5.0 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-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/bash Versions of packages ifupdown depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip ii net-tools 1.60-22 The NET-3 networking toolkit ifupdown recommends no packages. Versions of packages ifupdown suggests: ii dhcp3-client 3.1.1-6 DHCP client ii iproute 20080725-2 networking and traffic control too pn ppp <none> (no description available) -- no debconf information -- Simon Descarpentries +33 6 76 97 02 53 http://groupsquad.com
13c13 < if [ "$mac" = "$(echo "$testmac" | sed -e 'y/ABCDEF/abcdef/')" ]; then which="$scheme"; fi --- > if [ "$mac" == "$(echo "$testmac" | sed -e 'y/ABCDEF/abcdef/')" ]; then which="$scheme"; fi