]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lua net.interfaces(): fix mac addresses
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 16 Apr 2019 10:52:16 +0000 (12:52 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Thu, 18 Apr 2019 07:04:29 +0000 (07:04 +0000)
commit1c94ea2b5c88a5b3bd28b3f34eb22260af26f324
tree7852f7e2227470ee4ba70731fd5077396a969562
parent1f4e3124ab8cdee7154b5351062cde1b67257b16
lua net.interfaces(): fix mac addresses

Only the first byte was being shown since 3ab77332.
I can't see at all why this part was changed;
the buffer is (and was) way overlong for this,
so writing one zero byte just after the end is OK.
daemon/bindings/net.c