Skip to content

Commit

Permalink
v0.1.2.1 added nla_put_flag to libnl
Browse files Browse the repository at this point in the history
  • Loading branch information
wraith-wireless committed Jun 15, 2016
1 parent bf83b6d commit a397641
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyric/lib/libnl.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ def nla_put(msg,v,a,d):
msg['attrs'].append((a,v,d))

# nla_put_* append data of specified datatype
def nla_put_flag(msg,a): nla_put(msg,None,a,nlh.NLA_FLAG)
def nla_put_unspec(msg,v,a): nla_put(msg,v,a,nlh.NLA_UNSPEC)
def nla_put_u8(msg,v,a): nla_put(msg,v,a,nlh.NLA_U8)
def nla_put_u16(msg,v,a): nla_put(msg,v,a,nlh.NLA_U16)
Expand Down

0 comments on commit a397641

Please sign in to comment.