git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netdev-bsd: Correct pointer use after refactoring.
[sliver-openvswitch.git]
/
lib
/
netdev-bsd.c
diff --git
a/lib/netdev-bsd.c
b/lib/netdev-bsd.c
index
1301aad
..
87ac79f
100644
(file)
--- a/
lib/netdev-bsd.c
+++ b/
lib/netdev-bsd.c
@@
-1705,9
+1705,9
@@
static int
ifr_get_flags(const struct ifreq *ifr)
{
#ifdef HAVE_STRUCT_IFREQ_IFR_FLAGSHIGH
- return (ifr
.ifr_flagshigh << 16) | ifr.
ifr_flags;
+ return (ifr
->ifr_flagshigh << 16) | ifr->
ifr_flags;
#else
- return ifr
.
ifr_flags;
+ return ifr
->
ifr_flags;
#endif
}