aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-04-11 18:52:33 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-04-19 11:15:36 +0200
commiteca8baa028678c6f9d703c9fde7bdf45ef01bc06 (patch)
tree3eee06cdbe6dedf641de8fce8dc510e5f1dd0b52 /conf.c
parentee338a256ee8dff064fd3920a2efe642ef1d3cfa (diff)
downloadpasst-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>
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.c b/conf.c
index 9e0318a..90d3436 100644
--- a/conf.c
+++ b/conf.c
@@ -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;
}