(maint) fix RST formatting of has_interface_with code examples
This commit is contained in:
parent
806430224a
commit
34944a78f9
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue