Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: Cleanup printing ifAlias #4874
Not sure this is the best way to do this.
Updated display() function to use stripslashes twice. Reason for this is when ifAlias returns "something" we store \something\ (we strip " in snmp_walk() function. So we are then left with \something\ where as now we should just have something.
Other options to deal with this are:
This option is the safest way but welcome to suggestions.
Wouldn't a preg_replace on '//+' be more efficient?
On 28 October 2016 08:18:00 CEST, Neil Lathwood firstname.lastname@example.org wrote: