From 33d65836feeb76fc461386711a49d47c3da98e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= Date: Sun, 10 Jan 2021 21:17:09 +0100 Subject: [PATCH] fff-babeld: Clarify warning about missing ipv4 peering address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When neither peer_ip nor ipaddr are set, no ipv4 address for peering interfaces is available. Therefore, no IPv4 routes can be advertised. Other than that, a configuration like this is perfectly valid and configuration is already continued. Therefore, the "FATAL" message might be misleading so it is replaced with "WARNING" and clarified slightly. Signed-off-by: Fabian Bläse Reviewed-by: Johannes Kimmel [bump PKG_RELEASE] Signed-off-by: Adrian Schmutzler --- src/packages/fff/fff-babeld/Makefile | 2 +- src/packages/fff/fff-babeld/files/lib/functions/fff/babel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packages/fff/fff-babeld/Makefile b/src/packages/fff/fff-babeld/Makefile index edd47594..cebac778 100644 --- a/src/packages/fff/fff-babeld/Makefile +++ b/src/packages/fff/fff-babeld/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fff-babeld -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_BUILD_DIR:=$(BUILD_DIR)/fff-babeld diff --git a/src/packages/fff/fff-babeld/files/lib/functions/fff/babel b/src/packages/fff/fff-babeld/files/lib/functions/fff/babel index 5eb679b8..3b2c7dac 100644 --- a/src/packages/fff/fff-babeld/files/lib/functions/fff/babel +++ b/src/packages/fff/fff-babeld/files/lib/functions/fff/babel @@ -40,7 +40,7 @@ babel_add_peeraddr() { # use ipaddr (without subnet) if no peer_ip set uci add_list "$option"=$(echo $ipaddr | cut -d / -f1) else - echo "FATAL: Neither peer_ip nor ipaddr set! No peering ipv4 set!" + echo "WARNING: Neither peer_ip nor ipaddr set! IPv4 routing is not possible." return 1 fi