[sr-dev] git:master: cfg parsing: disable non constant rval in ip comparison warning

Andrei Pelinescu-Onciul andrei at iptel.org
Tue Jun 15 17:02:34 CEST 2010


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

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Tue Jun 15 17:00:51 2010 +0200

cfg parsing: disable non constant rval  in ip comparison warning

Reported-by: Steven C. Blair  blairs isc upenn edu

---

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

diff --git a/cfg.y b/cfg.y
index 5052078..ae214f2 100644
--- a/cfg.y
+++ b/cfg.y
@@ -2062,7 +2062,7 @@ exp_elem:
 					yyerror("BUG: unexpected dynamic type");
 				}
 			}else{
-					warn("non constant rvalue in ip comparison");
+					/* warn("non constant rvalue in ip comparison") */;
 			}
 			if (s_tmp.s){
 				ip_tmp=str2ip(&s_tmp);




More information about the sr-dev mailing list