diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-02-06 15:46:49 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2023-02-07 10:09:42 +0100 |
commit | a570e300061fae7250999c35e4e7215940bca82d (patch) | |
tree | 454fbf311d8babedce1e865fe918d1dca641106d /modules/luci-mod-status/htdocs/luci-static/resources/view | |
parent | 09c270950793104c4faabe3b10901b7cf3a9fea9 (diff) |
rpcd-mod-luci: fix reporting network device flags
Fix reporting of ceertain flag values larger than 255, such as IFF_PROMISC
by explicitly casting the bit test expression to a boolean result since
the implicit integer truncation to uint8_t will turn the `0x100` result of
a set IFF_PROMISC bit into just `0x0`.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources/view')
0 files changed, 0 insertions, 0 deletions