Module:IP/doc: Difference between revisions

Content deleted Content added
fix an IPv6 address syntax error
add section links
Line 1:
Module:IP is a library for working with IP addresses and subnets. It can handle both [[IPv4]] and [[IPv6]]. The library exports two classes, [[#IPAddress|IPAddress]] and [[#Subnet|Subnet]].
 
== Loading the library ==
Line 40:
</source>
 
You can use tostring on them (this is equivalent to <code>ipAddress:using [[#getIP()</code>|getIP]]):
 
<source lang="lua">