On 6/8/20 4:14 PM, Johannes Kimmel wrote:
> vxlan can be configured without a peer address. This is used to prepare
> an interface and add peers later.
> 
> Signed-off-by: Johannes Kimmel <f...@bareminimum.eu>

Acked-by: Matthias Schiffer <mschif...@universe-factory.net>

> ---
>  package/network/config/vxlan/files/vxlan.sh | 12 ------------
>  1 file changed, 12 deletions(-)
> 
> diff --git a/package/network/config/vxlan/files/vxlan.sh 
> b/package/network/config/vxlan/files/vxlan.sh
> index 7b1c703..bdcaa62 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" ] && {
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to