diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-04-11 18:52:33 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-04-19 11:15:36 +0200 |
commit | eca8baa028678c6f9d703c9fde7bdf45ef01bc06 (patch) | |
tree | 3eee06cdbe6dedf641de8fce8dc510e5f1dd0b52 | |
parent | ee338a256ee8dff064fd3920a2efe642ef1d3cfa (diff) | |
download | passt-eca8baa028678c6f9d703c9fde7bdf45ef01bc06.tar passt-eca8baa028678c6f9d703c9fde7bdf45ef01bc06.tar.gz passt-eca8baa028678c6f9d703c9fde7bdf45ef01bc06.tar.bz2 passt-eca8baa028678c6f9d703c9fde7bdf45ef01bc06.tar.lz passt-eca8baa028678c6f9d703c9fde7bdf45ef01bc06.tar.xz passt-eca8baa028678c6f9d703c9fde7bdf45ef01bc06.tar.zst passt-eca8baa028678c6f9d703c9fde7bdf45ef01bc06.zip |
conf: We're interested in the MAC address, not in the MAC itself
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -625,7 +625,7 @@ static unsigned int conf_ip4(unsigned int ifi, int rc = nl_link_get_mac(nl_sock, ifi, mac); if (rc < 0) { char ifname[IFNAMSIZ]; - err("Couldn't discover MAC for %s: %s", + err("Couldn't discover MAC address for %s: %s", if_indextoname(ifi, ifname), strerror(-rc)); return 0; } @@ -684,7 +684,7 @@ static unsigned int conf_ip6(unsigned int ifi, rc = nl_link_get_mac(nl_sock, ifi, mac); if (rc < 0) { char ifname[IFNAMSIZ]; - err("Couldn't discover MAC for %s: %s", + err("Couldn't discover MAC address for %s: %s", if_indextoname(ifi, ifname), strerror(-rc)); return 0; } |