Use ofpbuf_pull() instead of ofpbuf_try_pull() where it is valid.
authorBen Pfaff <blp@nicira.com>
Tue, 7 Dec 2010 23:49:36 +0000 (15:49 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 9 Dec 2010 01:11:19 +0000 (17:11 -0800)
commitbbc32a883f790a331b412eecc6de4b7cdf1e63cb
tree7901c416246dbfc60dfd840703696b1fb1e0bb43
parent2013493bd66415216730a51534480eb7fd465133
Use ofpbuf_pull() instead of ofpbuf_try_pull() where it is valid.

In each of these cases, we know that the buffer is long enough to pull
the header because ofputil_decode_msg_type() already checked for us.
lib/ofp-util.c
ofproto/ofproto.c