summaryrefslogtreecommitdiffstats
path: root/contrib/bind/bin/nslookup/commands.l
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bind/bin/nslookup/commands.l')
-rw-r--r--contrib/bind/bin/nslookup/commands.l6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/bind/bin/nslookup/commands.l b/contrib/bind/bin/nslookup/commands.l
index 286ae95..19cf062 100644
--- a/contrib/bind/bin/nslookup/commands.l
+++ b/contrib/bind/bin/nslookup/commands.l
@@ -105,7 +105,7 @@ extern void ViewList(char *);
%}
WS [ \t]
FLET [A-Za-z0-9.*\\_]
-LET [A-Za-z0-9.*]
+LET [A-Za-z0-9.*_]
NAME [A-Za-z0-9.*=_/-]
%%
^{WS}*server{WS}+{LET}{NAME}*{WS}*$ {
@@ -142,10 +142,6 @@ NAME [A-Za-z0-9.*=_/-]
Finger(yytext, 0);
return(1);
}
-^{WS}*view{WS}+{NAME}+{WS}*$ {
- ViewList((char *)yytext);
- return(1);
- }
^{WS}*ls{WS}+(("-a"|"-d"|"-h"|"-m"|"-s"){WS}+)?{LET}{NAME}*{WS}+>>?{WS}+{NAME}+{WS}*$ {
/*
* 2nd arg.
OpenPOWER on IntegriCloud