snmptrapd inserts a line feed character into the hex string output

Solution Unverified - Updated -

Issue

  • I have a application to parse the output from snmptrapd, but it failed since some line feed characters are included in the output.
  • Why is such a line feed character inserted?

Environment

Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.