Module: sip-router
Branch: master
Commit: b1336a679ad482b67e0373ac71744c18cbbd3942
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b1336a679ad482b67e0373ac71744c18cbbd3942

Author: Andrei Pelinescu-Onciul <[email protected]>
Committer: Andrei Pelinescu-Onciul <[email protected]>
Date:   Thu Jul 30 15:57:27 2009 +0200

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.

---

 cfg.y |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cfg.y b/cfg.y
index 51df90e..b51a272 100644
--- a/cfg.y
+++ b/cfg.y
@@ -2325,6 +2325,7 @@ attr_id_any_str:
                        else{
                                *s_attr=$1->lv.avps;
                        }
+                       $$=s_attr;
                }else
                        $$=0; /* not an avp, a pvar */
                pkg_free($1);


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to