]> git.ipfire.org Git - people/jschlag/network.git/commit
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)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Tue, 30 May 2017 08:24:15 +0000 (10:24 +0200)
commit30d871f4db4d11e7c789c182a80e1efa9bf7426c
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>
src/functions/functions.ip