]> granicus.if.org Git - libnl/commit
macsec: fix endianness of 'sci' parameter
authorDavide Caratti <dcaratti@redhat.com>
Mon, 5 Sep 2016 16:18:22 +0000 (18:18 +0200)
committerDavide Caratti <dcaratti@redhat.com>
Mon, 5 Sep 2016 16:37:06 +0000 (18:37 +0200)
commitcd758fbfee07768ff200f46d7090fa8d0e6b300f
tree19de7bc184ade49550e53761f7fe473268c2ccdb
parent7bf2e64654de75578db34b0eab53a3e4d106d65f
macsec: fix endianness of 'sci' parameter

'sci' passed to kernel is meant to be in network byte order: use
ntohll() and htonll() accordingly.

Signed-off-by: Davide Caratti <davide.caratti@gmail.com>
lib/route/link/macsec.c