summaryrefslogtreecommitdiff
path: root/doc/bird.sgml
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2017-03-22 14:53:37 +0100
committerJan Moskyto Matejka <mq@ucw.cz>2017-03-22 14:53:37 +0100
commit61e501da895553abfd2424e56470ab2b457beac4 (patch)
tree2b92ea3b0ec5068e1c9dec2f2098576558b78548 /doc/bird.sgml
parent3c74416465d77c0e79eeaaeb988e471663484b5d (diff)
Filter: Check whether IP is 4 or 6
Diffstat (limited to 'doc/bird.sgml')
-rw-r--r--doc/bird.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 761c5396..b10b1a21 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1186,7 +1186,8 @@ foot).
<tag><label id="type-ip">ip</tag>
This type can hold a single IP address. Depending on the compile-time
configuration of BIRD you are using, it is either an IPv4 or IPv6
- address. IP addresses are written in the standard notation
+ address; this may be checked by <cf>.is_ip4</cf> which returns <cf/bool/.
+ IP addresses are written in the standard notation
(<cf/10.20.30.40/ or <cf/fec0:3:4::1/). You can apply special operator
<cf>.mask(<M>num</M>)</cf> on values of type ip. It masks out all but
first <cf><M>num</M></cf> bits from the IP address. So