f-89: subnet: mode public_ip raccordé au bridge public comme bridge #89

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-30 00:59:30 +01:00
commit 46aad1e7c5
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
8 changed files with 61 additions and 8 deletions

View file

@ -13,3 +13,7 @@ func ValidMode(mode string) bool {
}
return false
}
func Bridged(mode string) bool {
return mode == ModeBridge || mode == ModePublicIP
}