mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
fix vlan generation bug
This commit is contained in:
parent
627a1105ee
commit
42c068833c
1 changed files with 0 additions and 1 deletions
|
@ -133,7 +133,6 @@ func GenerateNetworkdConfiguration(conf config.Config) ([]NetworkdConfigFile, er
|
|||
// Vlans
|
||||
vlans := []string{}
|
||||
if inter.Type != network.Vlan {
|
||||
vlans := []string{}
|
||||
for vlanName, vlanInter := range conf.Network.Interfaces {
|
||||
if vlanInter.Type == network.Vlan {
|
||||
if *vlanInter.VlanParent == name {
|
||||
|
|
Loading…
Add table
Reference in a new issue