ofp-util: Add ofputil_switch_features_ports_trunc function.
authorJustin Pettit <jpettit@nicira.com>
Sat, 5 May 2012 00:19:26 +0000 (17:19 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 8 May 2012 16:51:45 +0000 (09:51 -0700)
commit347b7ac46a96f851a67179d25401255a7f6e0b3b
treedc6cd2108136984ff7c6350daa8a95e2b044e812
parent2be393edd3a94772ef430054dc72ec794c450981
ofp-util: Add ofputil_switch_features_ports_trunc function.

Add function to determine whether the max number of ports are contains
in a Features Reply.  If so, it removes the port list, since it may be
incomplete.  This function will be used in a later commit.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
lib/ofp-util.c
lib/ofp-util.h