From 84d038c473feed3121e291646dae4d74436b4204 Mon Sep 17 00:00:00 2001 From: ZonD80 Date: Fri, 24 Apr 2015 14:23:15 +0300 Subject: [PATCH] Ivalid check removal, fix unability to add 4-level+ wildcard A records --- func/main.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/func/main.sh b/func/main.sh index 97b67207..f5511f30 100644 --- a/func/main.sh +++ b/func/main.sh @@ -782,11 +782,6 @@ validate_format_common() { exit $E_INVALID fi if [[ $1 =~ \* ]]; then - if [[ ! $1 =~ \*$ ]]; then - echo "Error: * can be used only at the end" - log_event "$E_INVALID" "$EVENT" - exit $E_INVALID - fi if [ "$(echo $1 | grep -o '*'|wc -l)" -gt 1 ]; then log_event "$E_INVALID" "$EVENT" echo "Error: * can be used only once"