diff options
Diffstat (limited to 'net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c')
-rw-r--r-- | net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c b/net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c new file mode 100644 index 00000000000..564c2b7d344 --- /dev/null +++ b/net/tcl-scotty/patches/patch-snmp_tnmMibQuery.c @@ -0,0 +1,15 @@ +$NetBSD: patch-snmp_tnmMibQuery.c,v 1.1 2014/10/08 15:50:18 he Exp $ + +Treat DISPLAY-HINT with 't' (UTF-8 string) the same as 'a' (ASCII string). + +--- ./tnm/snmp/tnmMibQuery.c.orig 1999-12-09 15:17:00.000000000 +0000 ++++ ./tnm/snmp/tnmMibQuery.c +@@ -705,7 +705,7 @@ FormatOctetTC(val, fmt) + } + + /* scan format: */ +- if (*fmt == 'a') { ++ if (*fmt == 'a' || *fmt == 't') { + + while (*val && pfx > 0) { + char c = *val++ & 0xff; |