[ovs-git] [openvswitch/ovs] 9a609f: pcap-file: Correctly format enum type.
GitHub
noreply at github.com
Fri Nov 16 18:55:32 UTC 2018
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 9a609f635457b08d641010e83e82327730cefeea
https://github.com/openvswitch/ovs/commit/9a609f635457b08d641010e83e82327730cefeea
Author: Ben Pfaff <blp at ovn.org>
Date: 2018-11-16 (Fri, 16 Nov 2018)
Changed paths:
M lib/pcap-file.c
Log Message:
-----------
pcap-file: Correctly format enum type.
The underlying type for an enum is somewhat unpredictable in that the
compiler and the ABI influence it. The format specifier I used here was
apparently correct for i386 on Linux but wrong for x86-64. It's better to
just use a cast.
Fixes: 597177a283da ("pcap-file: Add support for Linux SLL formatted PCAP files.")
Reported-by: Simon Horman <simon.horman at netronome.com>
Reviewed-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git
mailing list