From 946701386089cd3fdb15d4f1c59e775e39bb152d Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sat, 22 Jul 2023 14:42:44 +0200 Subject: [PATCH] Replace netmask with prefixlen --- vpn/bridge/meta/argument_specs.yml | 2 +- vpn/bridge/templates/br0 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vpn/bridge/meta/argument_specs.yml b/vpn/bridge/meta/argument_specs.yml index ea0a3d7..7a942b9 100644 --- a/vpn/bridge/meta/argument_specs.yml +++ b/vpn/bridge/meta/argument_specs.yml @@ -19,7 +19,7 @@ argument_specs: vpn_bridge_broadcast: type: "str" required: true - vpn_bridge_netmask: + vpn_bridge_prefixlen: type: "str" required: true vpn_bridge_subnet: diff --git a/vpn/bridge/templates/br0 b/vpn/bridge/templates/br0 index ae777d2..9a3aecf 100644 --- a/vpn/bridge/templates/br0 +++ b/vpn/bridge/templates/br0 @@ -23,4 +23,4 @@ iface br0 inet static address {{ vpn_bridge_address }} broadcast {{ vpn_bridge_broadcast }} - netmask {{ vpn_bridge_netmask }} + netmask {{ vpn_bridge_prefixlen }}