#1613 closed defect (fixed)
Use appropriate request for ioctl() function to access the interface flags (thanks to Peter Koletzki for the report)
Reported by: | ming | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.1 |
Component: | pjlib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | release-1.16 | Backported: | yes |
Description
When using SIOCGIFCONF ifreq struct would be filled with the interface address rather than the flags of the interface. Therefore any test against the flags of this interface are not working at the moment.
For gaining access to the flags, an additional socketctrl SIOCGIFFLAGS should be used.
Change History (5)
comment:1 Changed 12 years ago by ming
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 12 years ago by ming
In 4327:
comment:3 Changed 12 years ago by bennylp
comment:4 Changed 12 years ago by riza
In 4403:
comment:5 Changed 12 years ago by riza
- Backported set
Note: See
TracTickets for help on using
tickets.
In 4326: