0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

Nest: Fixes one of previous commit

This commit is contained in:
Ondrej Zajicek 2015-07-28 15:08:21 +02:00
parent dbf4c0cb25
commit c7b99a932c

View File

@ -108,7 +108,7 @@ idval:
$$ = SYM_VAL($1).i; $$ = SYM_VAL($1).i;
#ifndef IPV6 #ifndef IPV6
else if ($1->class == (SYM_CONSTANT | T_IP)) else if ($1->class == (SYM_CONSTANT | T_IP))
$$ = SYM_VAL($1).px.ip; $$ = ipa_to_u32(SYM_VAL($1).px.ip);
#endif #endif
else else
cf_error("Number of IPv4 address constant expected"); cf_error("Number of IPv4 address constant expected");