]> git.puffer.fish Git - mirror/frr.git/commit
pimd: cast ioctl values when printing them
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 4 Mar 2015 05:37:20 +0000 (06:37 +0100)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 26 May 2016 00:38:32 +0000 (20:38 -0400)
commit1cb17fc701620c2f735c65c8d0a938dfbea727a4
tree15b67b15fe5c6cda62401d32102374c2fbb573bd
parent59e96cda41eaa263fe445566a484bc979c36be18
pimd: cast ioctl values when printing them

ioctl values might be int or long, cast them to unsigned long for
consistent printing.  (They're long on FreeBSD, but were printed with
%d.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
pimd/pim_cmd.c