aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/vxlan
diff options
context:
space:
mode:
authorJohannes Kimmel <fff@bareminimum.eu>2020-07-20 08:05:09 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-20 13:43:36 +0200
commit5222aadbf353b7cc030c39aa816f33951b104552 (patch)
treef7c5edc1e0d7ac11049ced21aa342917fd8ff0ac /package/network/config/vxlan
parent4a2380a1e778a8f8e0bfb0a00f2996ed0aab58d8 (diff)
downloadupstream-5222aadbf353b7cc030c39aa816f33951b104552.tar.gz
upstream-5222aadbf353b7cc030c39aa816f33951b104552.tar.bz2
upstream-5222aadbf353b7cc030c39aa816f33951b104552.zip
vxlan: remove mandatory peeraddr
vxlan can be configured without a peer address. This is used to prepare an interface and add peers later. Fixes: FS#2743 Signed-off-by: Johannes Kimmel <fff@bareminimum.eu> Acked-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'package/network/config/vxlan')
-rwxr-xr-xpackage/network/config/vxlan/files/vxlan.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/package/network/config/vxlan/files/vxlan.sh b/package/network/config/vxlan/files/vxlan.sh
index 7b1c703955..bdcaa628c4 100755
--- a/package/network/config/vxlan/files/vxlan.sh
+++ b/package/network/config/vxlan/files/vxlan.sh
@@ -55,12 +55,6 @@ proto_vxlan_setup() {
local ipaddr peeraddr
json_get_vars ipaddr peeraddr tunlink
- [ -z "$peeraddr" ] && {
- proto_notify_error "$cfg" "MISSING_ADDRESS"
- proto_block_restart "$cfg"
- exit
- }
-
( proto_add_host_dependency "$cfg" '' "$tunlink" )
[ -z "$ipaddr" ] && {
@@ -85,12 +79,6 @@ proto_vxlan6_setup() {
local ip6addr peer6addr
json_get_vars ip6addr peer6addr tunlink
- [ -z "$peer6addr" ] && {
- proto_notify_error "$cfg" "MISSING_ADDRESS"
- proto_block_restart "$cfg"
- exit
- }
-
( proto_add_host_dependency "$cfg" '' "$tunlink" )
[ -z "$ip6addr" ] && {