]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Nest: Fixes one of previous commit
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 28 Jul 2015 13:08:21 +0000 (15:08 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 28 Jul 2015 13:08:21 +0000 (15:08 +0200)
nest/config.Y

index 7ad6c712e4454a81b42b59285b3b3643f3d6b46d..799a09f90a85672e337b1f5df06b3ac5e6e8da99 100644 (file)
@@ -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");