From 1d21306785392e997099362fbc863b050fe359da Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Sat, 29 Apr 2017 00:36:35 +0200 Subject: Minor fixes --- nest/config.Y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest') diff --git a/nest/config.Y b/nest/config.Y index b0f9642f..e672d730 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -629,7 +629,7 @@ r_args_for: net_fill_ip_host($$, SYM_VAL($1).ip); } else if (($1->class == (SYM_CONSTANT | T_NET)) && net_type_match(SYM_VAL($1).net, NB_IP | NB_VPN)) - $$ = SYM_VAL($1).net; + $$ = (net_addr *) SYM_VAL($1).net; /* Avoid const warning */ else cf_error("IP address or network expected"); } -- cgit v1.2.3