Browse Source

cfg parsing: disable non constant rval in ip comparison warning

Reported-by: Steven C. Blair  blairs isc upenn edu
Andrei Pelinescu-Onciul 15 năm trước cách đây
mục cha
commit
bd55f84d2c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      cfg.y

+ 1 - 1
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);