Merge pull request #175 from floatingatoll/patch-1

(maint) fix RST formatting of has_interface_with code examples
This commit is contained in:
Adrien Thebo 2013-09-11 11:13:28 -07:00
commit 4687b25470

View file

@ -405,12 +405,16 @@ Returns boolean based on kind and value:
* ipaddress
* network
has_interface_with("macaddress", "x:x:x:x:x:x")
has_interface_with("ipaddress", "127.0.0.1") => true
*Examples:*
has_interface_with("macaddress", "x:x:x:x:x:x")
has_interface_with("ipaddress", "127.0.0.1") => true
etc.
If no "kind" is given, then the presence of the interface is checked:
has_interface_with("lo") => true
has_interface_with("lo") => true
- *Type*: rvalue