diff options
| author | James Turnbull <james@lovedthanlost.net> | 2011-03-08 09:30:03 +1100 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2011-03-09 06:42:08 +1100 |
| commit | ba2601f6eeb0428bf46dbb312241077c6aa37754 (patch) | |
| tree | ad7820ff218d828623860421cc0ce4f3979619a6 /spec/unit/data | |
| parent | 469d2a26a467c50af9f9732d7f98e8a01ecc369f (diff) | |
| download | facter-ba2601f6eeb0428bf46dbb312241077c6aa37754.tar.gz facter-ba2601f6eeb0428bf46dbb312241077c6aa37754.tar.xz facter-ba2601f6eeb0428bf46dbb312241077c6aa37754.zip | |
Fix for #6495 - Updated interface detection
1. Fixed IP return to not filter lo/localhost and return it
as a proper interface
2. Fixed HP-UX netstat return to remove extraneous first line
of naming.
3. Updated tests to reflect changes
Diffstat (limited to 'spec/unit/data')
| -rw-r--r-- | spec/unit/data/hpux_netstat_all_interfaces | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/spec/unit/data/hpux_netstat_all_interfaces b/spec/unit/data/hpux_netstat_all_interfaces index 7745fa8..0e8f9dc 100644 --- a/spec/unit/data/hpux_netstat_all_interfaces +++ b/spec/unit/data/hpux_netstat_all_interfaces @@ -1,6 +1,3 @@ -Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll -lan1 1500 15.12.0.0 host1.default.com - 572527659 0 1129421249 0 0 -lan0 1500 172.54.85.0 host2.default.com - 519222647 0 329127145 0 0 -lo0 4136 loopback localhost 14281117 0 14281125 0 0 +lan1 1500 192.168.100.0 192.168.100.182 12964 0 900 0 0 +lan0 1500 192.168.100.0 192.168.100.181 12964 0 715 0 0 +lo0 4136 127.0.0.0 127.0.0.1 98 0 98 0 0 |
