disable vxlan if no peers available #226

Closed
rohammer wants to merge 6 commits from rohammer:vxlan-disable-no-GW into master
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 00b8eb6e6e - Show all commits

View File

@ -2,6 +2,7 @@ protocol=vxlan
vxlan_clear() {
while uci -q delete network.@vxlan_peer[0]; do :; done
uci set network.vxlan0.vid="0"
}
vxlan_addpeer() {