diff options
Diffstat (limited to 'nest')
-rw-r--r-- | nest/config.Y | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |