]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
using NLM_F_DUMP flag constant in libnetlink.c
authorMasatake YAMATO <yamato@redhat.com>
Thu, 19 Jan 2012 22:16:12 +0000 (14:16 -0800)
committerStephen Hemminger <shemminger@vyatta.com>
Thu, 19 Jan 2012 22:16:12 +0000 (14:16 -0800)
commitaa38c3eefaf6c6f4fd0a8858f6b771b6c8f84129
tree6a4ad8191f90f3286c055585dac299ae321bf538
parent1c4cbdbc6a33a9b4d6e0e95749d64cd718f3c21e
using NLM_F_DUMP flag constant in libnetlink.c

This is trivial patch for libnetlink.c in iproute2.

In iproute2/include/linux/netlink.h NLM_F_DUMP is defines as:

   #define NLM_F_DUMP (NLM_F_ROOT|NLM_F_MATCH)

It is not used in libnetlink.c. If used, the code becomes a bit easier
to read.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
lib/libnetlink.c