diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-04-29 00:36:35 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-04-29 01:24:30 +0200 |
commit | 1d21306785392e997099362fbc863b050fe359da (patch) | |
tree | fcd3edf7e94c93e74a8b7be82933191ddbb44cb8 /nest/config.Y | |
parent | e919601aaf29615edb2a231e58a358c2c5c9d286 (diff) |
Minor fixes
Diffstat (limited to 'nest/config.Y')
-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"); } |