chiark / gitweb /
-g => (eg)
authorianmdlvl <ianmdlvl>
Mon, 31 Dec 2001 15:18:21 +0000 (15:18 +0000)
committerianmdlvl <ianmdlvl>
Mon, 31 Dec 2001 15:18:21 +0000 (15:18 +0000)
scripts/named-conf

index d863dfc..71ca37d 100755 (executable)
@@ -336,7 +336,9 @@ sub zone_check_nsrrset ($$$$) {
     foreach $s (@s) {
        @glue= @{ $s2g{$s} };
        if (!@glue) {
-           zone_warning("glueless NS $s, from $ww")
+           zone_warning("glueless NS $s,".
+                        ($needglue<=1 ? " (eg)" : "").
+                        " from $ww")
                unless $glueless_ok || !$needglue ||
                       ($needglue<=1 && $gluelesswarned{$s}++);
            next;