summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2015-07-28 15:08:21 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-07-28 15:08:21 +0200
commitc7b99a932cab1873042e356143ab71755920157a (patch)
tree17e11d3262254c0f67e63fb68b4ce52df32adb66
parentdbf4c0cb258bd92efb54f95194f664f95ba98fd9 (diff)
Nest: Fixes one of previous commit
-rw-r--r--nest/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 7ad6c712..799a09f9 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -108,7 +108,7 @@ idval:
$$ = SYM_VAL($1).i;
#ifndef IPV6
else if ($1->class == (SYM_CONSTANT | T_IP))
- $$ = SYM_VAL($1).px.ip;
+ $$ = ipa_to_u32(SYM_VAL($1).px.ip);
#endif
else
cf_error("Number of IPv4 address constant expected");