mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-08 13:42:10 -05:00
realtek: dsa: Avoid misleading 'case' indentation
The case statements should be at the same indentation level as the switch. Having different levels makes it harder to spot where the next case starts. Signed-off-by: Sven Eckelmann <sven@narfation.org> Link: https://github.com/openwrt/openwrt/pull/20906 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
e506cb68b1
commit
bc71e705aa
@ -1004,7 +1004,7 @@ static int rtl931x_pie_data_fill(enum template_field_id field_type, struct pie_r
|
||||
*data_m = pr->dip_m;
|
||||
}
|
||||
break;
|
||||
case TEMPLATE_FIELD_DIP1:
|
||||
case TEMPLATE_FIELD_DIP1:
|
||||
if (pr->is_ipv6) {
|
||||
*data = pr->dip6.s6_addr16[6];
|
||||
*data_m = pr->dip6_m.s6_addr16[6];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user