Browse code

core: script parsing avp flags fix

Fix bug when parsing attr_id_any_str used by the avp flags
script functions (setavpflag(), resetavpflag(), isavpflagset()).

Closes: SR #11.
Reported-by: Greger Viken Teigre gregert at teigre com.

Andrei Pelinescu-Onciul authored on 30/07/2009 13:57:27
Showing 1 changed files
... ...
@@ -2325,6 +2325,7 @@ attr_id_any_str:
2325 2325
 			else{
2326 2326
 				*s_attr=$1->lv.avps;
2327 2327
 			}
2328
+			$$=s_attr;
2328 2329
 		}else
2329 2330
 			$$=0; /* not an avp, a pvar */
2330 2331
 		pkg_free($1);