summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_main.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-05-23 11:08:39 +0300
committerDavid Lamparter <equinox@opensourcerouting.org>2015-06-01 16:31:14 +0200
commit41eb9a4305fbcb206c900a18af7df7115d857d60 (patch)
treed132fa1a4e113aa5d0bcf84d60933b36383b182d /ospfd/ospf_main.c
parent53009d387a633997b16d32224b50451b5c81b61a (diff)
downloadquagga-41eb9a4305fbcb206c900a18af7df7115d857d60.tar.bz2
quagga-41eb9a4305fbcb206c900a18af7df7115d857d60.tar.xz
lib: make prefix2str simpler to use, and use it in zclient
Returning the buffer allows using it in the logging functions in easier way. This also makes the API consistent with sockunion. Add also PREFIX_STRLEN to be the generic buffer length required for any prefix string representation. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_main.c')
0 files changed, 0 insertions, 0 deletions