Skip to content

Commit a397641

Browse files
author
wraith-wireless
committed
v0.1.2.1 added nla_put_flag to libnl
1 parent bf83b6d commit a397641

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyric/lib/libnl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ def nla_put(msg,v,a,d):
554554
msg['attrs'].append((a,v,d))
555555

556556
# nla_put_* append data of specified datatype
557+
def nla_put_flag(msg,a): nla_put(msg,None,a,nlh.NLA_FLAG)
557558
def nla_put_unspec(msg,v,a): nla_put(msg,v,a,nlh.NLA_UNSPEC)
558559
def nla_put_u8(msg,v,a): nla_put(msg,v,a,nlh.NLA_U8)
559560
def nla_put_u16(msg,v,a): nla_put(msg,v,a,nlh.NLA_U16)

0 commit comments

Comments
 (0)