Skip to content

Commit a4061db

Browse files
committed
Hide IPX addresses from ifconfig(8) output
1 parent ec3483d commit a4061db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hw-probe.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13783,6 +13783,7 @@ ()
1378313783
$IFConfig = hideIPs($IFConfig);
1378413784
$IFConfig = encryptMACs($IFConfig);
1378513785
$IFConfig=~s/(inet6 |inet |netmask |broadcast )[^\s]+/$1\XXX/g;
13786+
$IFConfig=~s/(ipx .+ +)[^\s]+/$1\XXXXXXXX.XXXXXXXXXXXX/g;
1378613787
$IFConfig=~s/(ssid )(.+?)( channel)/$1...$3/g;
1378713788

1378813789
if(isBSD())

0 commit comments

Comments
 (0)