0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Sets of IP addresses should work, now. (From now on it is also

possible to write if 1.2.3.4 < 1.2.3.5, but I'm not sure if it is good
for anything.)
This commit is contained in:
Pavel Machek 1999-04-13 11:40:04 +00:00
parent 24eaae9e5d
commit 43fc099b98

View File

@ -55,6 +55,8 @@ val_compare(struct f_val v1, struct f_val v2)
if (v1.val.i == v2.val.i) return 0;
if (v1.val.i < v2.val.i) return -1;
return 1;
case T_IP:
return ipa_compare(v1.val.ip, v2.val.ip);
default: return CMP_ERROR;
}
}