]> git.ipfire.org Git - people/stevee/network.git/commit - src/functions/functions.ip
ip: Allow detection of protocol for networks, too
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Tue, 30 May 2017 08:24:15 +0000 (10:24 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 May 2017 14:53:25 +0000 (15:53 +0100)
commit0af2168d4eedd7f2d602215dc8c8f3f547cb7034
tree055a6a217c6ec3a414e139a9f395212ea45ad783
parent14ccbff51cb6f230c0a1f85d7cd3d8d7d5502da2
ip: Allow detection of protocol for networks, too

This is very convenient when we need to detect the protocol
of a network without splitting off the prefix first.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ip