aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index a1532e438..5120bc8b9 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -793,8 +793,9 @@ static void initialize_netdevices(void)
// This adds connected veth0 and veth1 devices.
{"veth", 0},
{"xfrm", "xfrm0"},
- {"wireguard", "wireguard0"},
- {"wireguard", "wireguard1"},
+ {"wireguard", "wg0"},
+ {"wireguard", "wg1"},
+ {"wireguard", "wg2"},
};
const char* devmasters[] = {"bridge", "bond", "team", "batadv"};
// If you extend this array, also update netdev_addr_id in vnet.txt
@@ -859,8 +860,9 @@ static void initialize_netdevices(void)
{"batadv_slave_1", ETH_ALEN},
{"geneve0", ETH_ALEN},
{"geneve1", ETH_ALEN},
- {"wireguard0", 0},
- {"wireguard1", 0},
+ {"wg0", 0},
+ {"wg1", 0},
+ {"wg2", 0},
};
int sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
if (sock == -1)