Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down