diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-05-24 09:58:12 +1200 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2019-05-29 11:29:17 +0000 |
commit | 0ae585db26727a944c957cb543bf72175dc55599 (patch) | |
tree | 8f403c493f81970aaeaeeccaf849715c1ae938dd /selftest | |
parent | 32b282d55e8888aa7bbe02d95502669f1c714726 (diff) | |
download | samba-0ae585db26727a944c957cb543bf72175dc55599.tar.gz |
samba-tool dns: use bytes for inet_ntop
From Python's point of view, array.AddrArray is a list of byte-valued
integers. In Python 3 we can convert directly using the likes of
bytes(array.AddrArray[i].MaxSa[8:24])
but in 4.10 we need to support both, so we use struct.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Wed May 29 11:29:17 UTC 2019 on sn-devel-184
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail.d/sambatool-dns | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/selftest/knownfail.d/sambatool-dns b/selftest/knownfail.d/sambatool-dns deleted file mode 100644 index 382d740aa7c..00000000000 --- a/selftest/knownfail.d/sambatool-dns +++ /dev/null @@ -1 +0,0 @@ -samba.tests.samba_tool.dnscmd.samba.tests.samba_tool.dnscmd.DnsCmdTestCase.test_serverinfo |