]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
global: Switch to new MAC prefix 4530/head
authorStéphane Graber <stgraber@stgraber.org>
Sun, 16 Mar 2025 06:23:00 +0000 (02:23 -0400)
committerStéphane Graber <stgraber@stgraber.org>
Sun, 16 Mar 2025 06:23:00 +0000 (02:23 -0400)
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
src/lxc/network.c
src/tests/lxc-test-utils.c

index 0a99d32a0af7030b066779105b5a61179eca80b1..f7d66eed23797b7aae8322127b11c30ab906c9eb 100644 (file)
@@ -3480,10 +3480,10 @@ static int lxc_create_network_priv(struct lxc_handler *handler)
  * following devices:
 
  * 4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
- *    link/ether 00:16:3e:91:d3:ae brd ff:ff:ff:ff:ff:ff permaddr 00:16:3e:e7:5d:10
+ *    link/ether 10:66:6a:91:d3:ae brd ff:ff:ff:ff:ff:ff permaddr 10:66:6a:e7:5d:10
  *    altname enp7s0
  * 5: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
- *    link/ether 00:16:3e:e7:5d:10 brd ff:ff:ff:ff:ff:ff permaddr 00:16:3e:91:d3:ae
+ *    link/ether 10:66:6a:e7:5d:10 brd ff:ff:ff:ff:ff:ff permaddr 10:66:6a:91:d3:ae
  *    altname enp8s0
  *
  * and the user generates the following network config for their container:
@@ -3500,10 +3500,10 @@ static int lxc_create_network_priv(struct lxc_handler *handler)
  * network namespace into the container's network namespace:
  *
  * 24: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
- *     link/ether 00:16:3e:91:d3:ae brd ff:ff:ff:ff:ff:ff permaddr 00:16:3e:e7:5d:10
+ *     link/ether 10:66:6a:91:d3:ae brd ff:ff:ff:ff:ff:ff permaddr 10:66:6a:e7:5d:10
  *     altname enp7s0
  * 25: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
- *     link/ether 00:16:3e:e7:5d:10 brd ff:ff:ff:ff:ff:ff permaddr 00:16:3e:91:d3:ae
+ *     link/ether 10:66:6a:e7:5d:10 brd ff:ff:ff:ff:ff:ff permaddr 10:66:6a:91:d3:ae
  *      altname enp8s0
  *
  * According to the network config above we now need to rename the network
index e3a79ebaf7e4d666e38469bdeca306cc5dc1b997..aa5cda6b9e0173a112eaf6e986dbae0fca3c8e90 100644 (file)
@@ -503,7 +503,7 @@ void test_parse_byte_size_string(void)
 
 void test_lxc_config_net_is_hwaddr(void)
 {
-       if (!lxc_config_net_is_hwaddr("lxc.net.0.hwaddr = 00:16:3e:04:65:b8\n"))
+       if (!lxc_config_net_is_hwaddr("lxc.net.0.hwaddr = 10:66:6a:04:65:b8\n"))
                exit(EXIT_FAILURE);
 
        if (lxc_config_net_is_hwaddr("lxc.net"))