On 19/03/07, maciej_golas <[EMAIL PROTECTED]> wrote: > Od: Adam Bell <[EMAIL PROTECTED]> > > > Is the host or the agent running on a little endian machine? > > You may have to byte swap at the appropriate location to get network order. > > > > Adam > > > > My host runs on Lunux (x86 architecture). > But how to do "byte swap" under my agent? > The code generated by mib2c allows that?
Ideally, it shouldn't be necessary for you to tweak the code yourself. This is the sort of thing that the agent framework ought to cope with. I seem to remember a similar issue having come up in the past, but I thought we'd addressed it. What version of the Net-SNMP code are you working with? Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
