Skip to content

Commit

Permalink
Print the mac address of the interface
Browse files Browse the repository at this point in the history
As discussed on Slack
Tested on my RPI 3B+
  • Loading branch information
axelson authored and fhunleth committed Jan 14, 2022
1 parent acc13da commit 9ab3466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vintage_net/info.ex
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ defmodule VintageNet.Info do
format_if_attribute(ifname, "state", "State", true),
format_if_attribute(ifname, "connection", "Connection", true),
format_addresses(ifname),
format_if_attribute(ifname, "mac_address", "MAC Address"),
" Configuration:\n",
format_config(ifname, " ", opts),
"\n"
Expand Down

0 comments on commit 9ab3466

Please sign in to comment.