diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-11-25 11:46:33 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-11-26 08:30:18 +0100 |
commit | 6819b2e1020411661dc0487ee3614f012d45b049 (patch) | |
tree | ed0c7df8405ec88dfbcaf6aae56a2958e1e98244 | |
parent | b61be8468a804f5660cebcfdc10aa94b7ecac7a3 (diff) | |
download | passt-6819b2e1020411661dc0487ee3614f012d45b049.tar passt-6819b2e1020411661dc0487ee3614f012d45b049.tar.gz passt-6819b2e1020411661dc0487ee3614f012d45b049.tar.bz2 passt-6819b2e1020411661dc0487ee3614f012d45b049.tar.lz passt-6819b2e1020411661dc0487ee3614f012d45b049.tar.xz passt-6819b2e1020411661dc0487ee3614f012d45b049.tar.zst passt-6819b2e1020411661dc0487ee3614f012d45b049.zip |
conf, passt.1: Update --mac-addr default in usage() and man page
Fixes: 90e83d50a9bd ("Don't take "our" MAC address from the host")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | conf.c | 2 | ||||
-rw-r--r-- | passt.1 | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -788,7 +788,7 @@ static void usage(const char *name, FILE *f, int status) " -n, --netmask MASK Assign IPv4 MASK, dot-decimal or bits\n" " default: netmask from matching address on the host\n" " -M, --mac-addr ADDR Use source MAC address ADDR\n" - " default: MAC address from interface with default route\n" + " default: 9a:55:9a:55:9a:55 (locally administered)\n" " -g, --gateway ADDR Pass IPv4 or IPv6 address as gateway\n" " default: gateway from interface with default route\n" " -i, --interface NAME Interface for addresses and routes\n" @@ -174,8 +174,7 @@ according to the CIDR block of the assigned address (RFC 4632). .BR \-M ", " \-\-mac-addr " " \fIaddr Use source MAC address \fIaddr\fR when communicating to the guest or to the target namespace. -Default is to use the MAC address of the interface with the first IPv4 default -route on the host. +Default is the locally administered MAC addresses 9a:55:9a:55:9a:55. .TP .BR \-g ", " \-\-gateway " " \fIaddr |