diff options
Diffstat (limited to 'lib/ofpbuf.c')
-rw-r--r-- | lib/ofpbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ofpbuf.c b/lib/ofpbuf.c index f7145dbfe..d578ab56a 100644 --- a/lib/ofpbuf.c +++ b/lib/ofpbuf.c @@ -407,7 +407,7 @@ ofpbuf_put_hex(struct ofpbuf *b, const char *s, size_t *n) uint8_t byte; bool ok; - s += strspn(s, " "); + s += strspn(s, " \t\r\n"); byte = hexits_value(s, 2, &ok); if (!ok) { if (n) { |