Skip to content

Commit 84d038c

Browse files
committed
Ivalid check removal, fix unability to add 4-level+ wildcard A records
1 parent 7a9c937 commit 84d038c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

func/main.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -782,11 +782,6 @@ validate_format_common() {
782782
exit $E_INVALID
783783
fi
784784
if [[ $1 =~ \* ]]; then
785-
if [[ ! $1 =~ \*$ ]]; then
786-
echo "Error: * can be used only at the end"
787-
log_event "$E_INVALID" "$EVENT"
788-
exit $E_INVALID
789-
fi
790785
if [ "$(echo $1 | grep -o '*'|wc -l)" -gt 1 ]; then
791786
log_event "$E_INVALID" "$EVENT"
792787
echo "Error: * can be used only once"

0 commit comments

Comments
 (0)