Skip to content

Commit dd56842

Browse files
joerg-dJörg Deckert
andauthored
networkd: correct batman-adv setting name (GatewayBandwidth) (systemd#19539)
Co-authored-by: Jörg Deckert <jdeckert@unitas-network.de>
1 parent 3d56ace commit dd56842

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

src/network/netdev/netdev-gperf.gperf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ BatmanAdvanced.Fragmentation, config_parse_bool,
244244
BatmanAdvanced.GatewayMode, config_parse_batadv_gateway_mode, 0, offsetof(BatmanAdvanced, gateway_mode)
245245
BatmanAdvanced.GatewayBandwithDown, config_parse_badadv_bandwidth, 0, offsetof(BatmanAdvanced, gateway_bandwidth_down)
246246
BatmanAdvanced.GatewayBandwithUp, config_parse_badadv_bandwidth, 0, offsetof(BatmanAdvanced, gateway_bandwidth_up)
247+
BatmanAdvanced.GatewayBandwidthDown, config_parse_badadv_bandwidth, 0, offsetof(BatmanAdvanced, gateway_bandwidth_down)
248+
BatmanAdvanced.GatewayBandwidthUp, config_parse_badadv_bandwidth, 0, offsetof(BatmanAdvanced, gateway_bandwidth_up)
247249
BatmanAdvanced.HopPenalty, config_parse_uint8, 0, offsetof(BatmanAdvanced, hop_penalty)
248250
BatmanAdvanced.OriginatorIntervalSec, config_parse_sec, 0, offsetof(BatmanAdvanced, originator_interval)
249251
BatmanAdvanced.RoutingAlgorithm, config_parse_batadv_routing_algorithm, 0, offsetof(BatmanAdvanced, routing_algorithm)

test/fuzz/fuzz-netdev-parser/28-batadv.netdev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ DistributedArpTable=1
1111
Fragmentation=1
1212
HopPenalty=10
1313
OriginatorIntervalSec=1
14-
GatewayBandwithDown=100K
15-
GatewayBandwithUp=12K
14+
GatewayBandwidthDown=100K
15+
GatewayBandwidthUp=12K
1616
RoutingAlgorithm=batman-v

test/fuzz/fuzz-netdev-parser/directives.netdev

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,6 @@ HopPenalty=
234234
OriginatorIntervalSec=
235235
GatewayBandwithDown=
236236
GatewayBandwithUp=
237+
GatewayBandwidthDown=
238+
GatewayBandwidthUp=
237239
RoutingAlgorithm=

test/test-network/conf/25-batadv.netdev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ DistributedArpTable=1
1010
Fragmentation=0
1111
HopPenalty=10
1212
OriginatorIntervalSec=1000ms
13-
GatewayBandwithDown=205M
14-
GatewayBandwithUp=2G
13+
GatewayBandwidthDown=205M
14+
GatewayBandwidthUp=2G

0 commit comments

Comments
 (0)