diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-05-05 07:32:44 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-05-12 09:49:54 (GMT) |
commit | 286a86c75eb860df1ee58f369e47e396aa228d2f (patch) | |
tree | 7ac94efa64e5c303dc2b3938e2a66ae6b6db9ff5 /lib | |
parent | 70556f55ce2982ca8de7cfaa433a8a81f101b141 (diff) | |
download | libnl-286a86c75eb860df1ee58f369e47e396aa228d2f.zip libnl-286a86c75eb860df1ee58f369e47e396aa228d2f.tar.gz libnl-286a86c75eb860df1ee58f369e47e396aa228d2f.tar.bz2 |
addr: add AF_VSOCK to translation table
Add AF_VSOCK to the address family translation table.
https://github.com/thom311/libnl/pull/142
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/addr.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1075,6 +1075,9 @@ static const struct trans_tbl afs[] = { #ifdef AF_NFC __ADD(AF_NFC,nfc), #endif +#ifdef AF_VSOCK + __ADD(AF_VSOCK,vsock), +#endif }; char *nl_af2str(int family, char *buf, size_t size) |