mirror of
https://github.com/FRRouting/frr.git
synced 2026-01-11 20:07:27 +00:00
The original problem came with a DEFPY command that uses RANGE token
with a big value. To illustrate, tha passed argument is not the expected
one on i386 platforms.
> # config:
> router bgp 65003 vrf Vrf20
> bgp router-id 192.0.2.3
> sid vpn per-vrf export 4294442578
> # show running-config
> router bgp 65003 vrf Vrf20
> bgp router-id 192.0.2.3
> sid vpn per-vrf export 2147483647
The 'long' size on an i386 platform is 32 bits, which differs from most
of other platforms (64 bits). Propose to extend the RANGE to int64_t
values by converting the RANGE from long to int64_t.
Add the necessary changes on places where RANGE is used and where
internal attribute type differs from passed argument.
Fixes:
|
||
|---|---|---|
| .. | ||
| clippy | ||
| callgraph-dot.py | ||
| clidef.py | ||
| firstheader.py | ||
| makefile.py | ||
| makevars.py | ||
| runtests.py | ||
| test_xrelfo.py | ||
| tiabwarfo.py | ||
| tsexpand.py | ||
| xref2vtysh.py | ||
| xrefstructs.json | ||
| xrelfo.py | ||