1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
Testing that software flow offloading lists the bridge members and the
WDS name prefix of each wireless member, as hardware offloading does.
-- Testcase --
{%
fw4.load(false);
print(fw4.resolve_offload_devices(), "\n");
%}
-- End --
-- File fs/open~_proc_version.txt --
Linux version 6.18.55 (builder@host) (aarch64-openwrt-linux-musl-gcc) #0 SMP
-- End --
-- File uci/helpers.json --
{}
-- End --
-- File uci/firewall.json --
{
"defaults": [
{
"flow_offloading": 1,
"flow_offloading_hw": 0
}
],
"zone": [
{
"name": "lan",
"network": "lan",
"auto_helper": 0
},
{
"name": "wan",
"network": "wan",
"auto_helper": 0
}
]
}
-- End --
-- File fs/opendir~_sys_class_net_br-lan.json --
[
"lower_eth0",
"lower_wlan1"
]
-- End --
-- File fs/opendir~_sys_class_net_wlan1.json --
[]
-- End --
-- File fs/open~_sys_class_net_wlan1_uevent.txt --
DEVTYPE=wlan
INTERFACE=wlan1
IFINDEX=9
-- End --
-- File fs/open~_sys_class_net_br-lan.txt --
DEVTYPE=bridge
INTERFACE=br-lan
-- End --
-- File fs/open~_sys_class_net_eth1.txt --
INTERFACE=eth1
-- End --
-- Expect stdout --
[ "eth0", "eth1", "pppoe-wan", "wlan1", "wlan1.sta*" ]
-- End --
|