FW: SNMP Trap LF in DisplayString

This is a discussion on FW: SNMP Trap LF in DisplayString within the SNMP Coders forums, part of the Networking and Network Related category; Maybe this was suited more for the devel list. I'm thinking, if there isn't one already, an option ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-25-2008
Larry Low
 
Posts: n/a
Default FW: SNMP Trap LF in DisplayString

Maybe this was suited more for the devel list. I'm thinking, if there isn't one already, an option to either a) specify an output delimiter for traphandlers or b) have an option to strip LFs from varbinds.

----
Larry Low

-----Original Message-----
From: net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of Larry Low
Sent: Monday, March 24, 2008 6:25 PM
To: net-snmp-users@lists.sourceforge.net
Subject: SNMP Trap LF in DisplayString

snmptrapd will separate out variable bindings with LF when used. The problem is that DisplayString can have CR LF, CR, and CR NUL. Since CR anything else is invalid maybe separating out the variable bindings with CR CR would cause less problems when trying to parse?

Thoughts?

----
Larry Low

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0