Module: sip-router
Branch: master
Commit: 5b258eb6c08898eb450cdf4819af4b2db1827868
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5b258eb…
Author: Alex Hermann <alex(a)speakup.nl>
Committer: Alex Hermann <alex(a)speakup.nl>
Date: Fri Aug 5 15:32:14 2011 +0200
core: allow negative parameter to remove_branches
---
cfg.y | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cfg.y b/cfg.y
index daf38e0..0dc8b74 100644
--- a/cfg.y
+++ b/cfg.y
@@ -3200,7 +3200,7 @@ cmd:
NUMBER_ST, (void *)Q_UNSPECIFIED);
set_cfg_pos($$);
}
- | REMOVE_BRANCH LPAREN NUMBER RPAREN {
+ | REMOVE_BRANCH LPAREN intno RPAREN {
$$=mk_action(REMOVE_BRANCH_T, 1, NUMBER_ST, (void*)$3);
set_cfg_pos($$);
}