diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-04-29 14:14:25 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-05-04 03:09:49 +0300 |
| commit | 25174419a520d20d0c78b89eafc34c2ee9f896b5 (patch) | |
| tree | 594c275cb1e4fbb84a11519a54cb7fbbf307db57 /tests/accel-cmd/test_cmd_basic.py | |
| parent | d3d5aec5551d7d451fa4dae3df118a6ebd4cc2b7 (diff) | |
| download | accel-ppp-25174419a520d20d0c78b89eafc34c2ee9f896b5.tar.gz accel-ppp-25174419a520d20d0c78b89eafc34c2ee9f896b5.zip | |
net-snmp: fix ASN_INTEGER scalar value size
Use long storage for ASN_INTEGER scalar values passed to snmp_set_var_typed_value(). PPTP, L2TP, and PPPoE starting/active handlers previously passed unsigned int locals, and statCoreCPU passed triton_stat.cpu directly, which does not match Net-SNMP's C representation for ASN_INTEGER on 64-bit systems.
Keep the exposed MIB values and access paths unchanged; only stage the values through correctly sized local variables before encoding them for Net-SNMP.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'tests/accel-cmd/test_cmd_basic.py')
0 files changed, 0 insertions, 0 deletions
