PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000614PacketFencecorepublic2009-03-12 14:452012-02-29 10:56
Reporteruser4 
Assigned Touser4 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000614: ifconfig -a and non-english installations
Descriptionthe pattern match at /usr/local/pf/lib/pf/util.pm line 560 (and in a SUB
below) doesn't work with non-english installations .
on my german installation it must be:

{/^$dev .+Hardware Adresse\s+\w\w:\w\w:\w\w:\w\w:\w\w:\w\w/} @iflist );

#{/^$dev .+HWaddr\s+\w\w:\w\w:\w\w:\w\w:\w\w:\w\w/} @iflist );

You can fix this if you run "ifconfig -a" with Env: LC_ALL=C !

(reported by Adnoh)
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0001142)
user4
2009-03-13 10:56

[root@localhost conf]# LC_ALL=de_DE ifconfig -a
eth0 Link encap:Ethernet Hardware Adresse 08:00:27:D9:20:8E
          inet Adresse:10.0.2.15 Bcast:10.0.2.255 Maske:255.255.255.0
          inet6 Adresse: fe80::a00:27ff:fed9:208e/64 G?ltigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:13909 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8380 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenl?nge:1000
          RX bytes:5454639 (5.2 MiB) TX bytes:1538536 (1.4 MiB)
          Interrupt:11 Basisadresse:0xc020

lo Link encap:Lokale Schleife
          inet Adresse:127.0.0.1 Maske:255.0.0.0
          inet6 Adresse: ::1/128 G?ltigkeitsbereich:Maschine
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenl?nge:0
          RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

sit0 Link encap:IPv6-nach-IPv4
          NOARP MTU:1480 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenl?nge:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost conf]# LC_ALL=fr_FR ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:00:27:D9:20:8E
          inet adr:10.0.2.15 Bcast:10.0.2.255 Masque:255.255.255.0
          adr inet6: fe80::a00:27ff:fed9:208e/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:13997 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8438 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:5461179 (5.2 MiB) TX bytes:1545700 (1.4 MiB)
          Interruption:11 Adresse de base:0xc020

lo Link encap:Boucle locale
          inet adr:127.0.0.1 Masque:255.0.0.0
          adr inet6: ::1/128 Scope:H?te
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

sit0 Link encap:IPv6-dans-IPv4
          NOARP MTU:1480 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost conf]# LC_ALL=C ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:00:27:D9:20:8E
          inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fed9:208e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:14073 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8490 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5466747 (5.2 MiB) TX bytes:1552204 (1.4 MiB)
          Interrupt:11 Base address:0xc020

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

sit0 Link encap:IPv6-in-IPv4
          NOARP MTU:1480 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
(0001143)
user4
2009-03-13 11:28

fixed in mtn revision 9d026378d108e31ce68e91eede192573413539e4

- Issue History
Date Modified Username Field Change
2009-03-12 14:45 user4 New Issue
2009-03-13 10:52 user4 Status new => assigned
2009-03-13 10:52 user4 Assigned To => user4
2009-03-13 10:56 user4 Note Added: 0001142
2009-03-13 11:28 user4 Status assigned => closed
2009-03-13 11:28 user4 Note Added: 0001143
2009-03-13 11:28 user4 Resolution open => fixed
2010-04-15 17:57 obilodeau Category 1.8.2 => 1.8.x
2012-02-29 10:56 obilodeau Category 1.8.x => core


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker