* / lists on their own.
*/
*type = T_DOUBLE_QUOTED_STRING;
- depth = 1;
+ depth = 0;
/*
* Xlat's are quoted by %{...} nesting, not by
continue;
}
- if ((*p == '%') && (*p == '{')) {
+ if ((p[0] == '%') && (p[1] == '{')) {
if (!p[2]) {
return_P("End of string after expansion");
}
condition <ipaddr>127.0.0.1 == %{sql:127.0.0.1}
data <ipaddr>127.0.0.1 == "%{sql:127.0.0.1}"
+condition <ipaddr>127.0.0.1 == %{sql: SELECT user FROM table WHERE user='%{User-Name}'}
+data <ipaddr>127.0.0.1 == "%{sql: SELECT user FROM table WHERE user='%{User-Name}'}"
+
condition <ether> 00:11:22:33:44:55 == "00:11:22:33:44:55"
data true