diff --git a/lib/master_tok.l b/lib/master_tok.l
index 9bfeefa..ff69a24 100644
--- a/lib/master_tok.l
+++ b/lib/master_tok.l
@@ -272,7 +272,7 @@ OPTTOUT (-t{OPTWS}|-t{OPTWS}={OPTWS}|--timeout{OPTWS}|--timeout{OPTWS}={OPTWS})
return DNSERVER;
}
- {DNATTRSTR} {
+ {DNATTRSTR}/"=" {
strcpy(master_lval.strtype, master_text);
return DNATTR;
}