diff options
author | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2006-09-26 15:30:43 +0000 |
---|---|---|
committer | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2006-09-26 15:30:43 +0000 |
commit | 965b83f9cc287ca36f5a4152c2ac39007c5bc6d8 (patch) | |
tree | 1cfc447235d86ce273d37078d44da82ead4fd39d /vtysh/vtysh_main.c | |
parent | 08c8367197cb847eb88942e5d7273cf3352d967f (diff) |
[snmp] Fix asn_build calls to pass correct variable sizes (fixes 64-bit issues)
2006-09-26 Pierre-Yves Ritschard <pierre-yves@spootnik.org>
* smux.c: (smux_open,smux_trap,smux_register) Fix various
asn_build_* calls to pass the proper length in the final
argument: use sizeof(<variable>) instead of sizeof(<type>),
since there were several inconsistencies between the actual
variable type and the size that was passed. This should
fix some problems on 64-bit architectures where sizeof(int)
!= sizeof(long).
Diffstat (limited to 'vtysh/vtysh_main.c')
0 files changed, 0 insertions, 0 deletions