commit | 0330f49ea06eed134b51a6924faf64ec6b1bb3ed | [log] [tgz] |
---|---|---|
author | Davide Caratti <dcaratti@redhat.com> | Tue Aug 30 13:23:14 2016 +0200 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Thu Sep 01 09:08:50 2016 -0700 |
tree | 66582a7484d90d960a1535344a9f1ab35694b4ec | |
parent | d0baa1389f3a5d216f8f7085ae579c2e6e4bfcce [diff] |
macsec: fix byte ordering on input/display of 'sci' use get_be64() in place of get_u64() when parsing input 'sci' parameter, so that 'sci' can be entered using network byte order regardless the endianness of target system; use ntohll() when printing out 'sci'. While at it, improve documentation of 'sci' in ip-link.8. Signed-off-by: Davide Caratti <dcaratti@redhat.com>