Skip to content

Commit

Permalink
Hide IPX addresses from ifconfig(8) output
Browse files Browse the repository at this point in the history
  • Loading branch information
Low-power committed Jul 30, 2024
1 parent ec3483d commit a4061db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw-probe.pl
Original file line number Diff line number Diff line change
Expand Up @@ -13783,6 +13783,7 @@ ()
$IFConfig = hideIPs($IFConfig);
$IFConfig = encryptMACs($IFConfig);
$IFConfig=~s/(inet6 |inet |netmask |broadcast )[^\s]+/$1\XXX/g;
$IFConfig=~s/(ipx .+ +)[^\s]+/$1\XXXXXXXX.XXXXXXXXXXXX/g;
$IFConfig=~s/(ssid )(.+?)( channel)/$1...$3/g;

if(isBSD())
Expand Down

0 comments on commit a4061db

Please sign in to comment.