Print the network...how can it be a function?
This commit is contained in:
parent
779e877c54
commit
23b62ed61d
|
@ -14,7 +14,8 @@ let
|
|||
if base == top then [ ] else [ base ] ++ (rangeFun (base + 1) top);
|
||||
in rangeFun base top;
|
||||
|
||||
getNetworkHosts = network: filterAttrs (ip: _: ipv4OnNetwork ip network);
|
||||
getNetworkHosts = network:
|
||||
filterAttrs (ip: _: ipv4OnNetwork ip (trace "NETWORK: ${network}" network));
|
||||
|
||||
getLastIpComponent = ip: head (reverseList (splitString "." ip));
|
||||
|
||||
|
|
Loading…
Reference in New Issue