Doc: Fix typo
Thanks to Sergey Kulikov for the bugreport.
This commit is contained in:
parent
600eb695b1
commit
14ce8904e7
1 changed files with 1 additions and 1 deletions
|
@ -1272,7 +1272,7 @@ in the foot).
|
||||||
<tag><label id="type-ip">ip</tag>
|
<tag><label id="type-ip">ip</tag>
|
||||||
This type can hold a single IP address. The IPv4 addresses are stored as
|
This type can hold a single IP address. The IPv4 addresses are stored as
|
||||||
IPv4-Mapped IPv6 addresses so one data type for both of them is used.
|
IPv4-Mapped IPv6 addresses so one data type for both of them is used.
|
||||||
Whether the address is IPv4 or not may be checked by <cf>.is_ip4</cf>
|
Whether the address is IPv4 or not may be checked by <cf>.is_v4</cf>
|
||||||
which returns a <cf/bool/. IP addresses are written in the standard
|
which returns a <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
|
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
|
operator <cf>.mask(<M>num</M>)</cf> on values of type ip. It masks out
|
||||||
|
|
Loading…
Reference in a new issue