(maint) fix RST formatting of has_interface_with code examples

This commit is contained in:
floatingatoll 2013-09-04 10:26:14 -07:00 committed by Richard Soderberg
parent 806430224a
commit 34944a78f9

View file

@ -405,11 +405,15 @@ Returns boolean based on kind and value:
* ipaddress
* network
*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