Skip to content

Commit

Permalink
netlink: Correct comment for nl_msg_put_unspec().
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Pettit <[email protected]>
Acked-by: Joe Stringer <[email protected]>
  • Loading branch information
justinpettit committed Jul 27, 2017
1 parent 36f232b commit d5e13d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,7 @@ nl_msg_put_unspec_zero(struct ofpbuf *msg, uint16_t type, size_t size)

/* Appends a Netlink attribute of the given 'type' and the 'size' bytes of
* 'data' as its payload, to the tail end of 'msg', reallocating and copying
* its data if necessary. Returns a pointer to the first byte of data in the
* attribute, which is left uninitialized. */
* its data if necessary. */
void
nl_msg_put_unspec(struct ofpbuf *msg, uint16_t type,
const void *data, size_t size)
Expand Down

0 comments on commit d5e13d3

Please sign in to comment.