summaryrefslogtreecommitdiff
path: root/openvpn/src/openvpn/buffer.c
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-12-14 12:58:27 +0100
committerArne Schwabe <arne@rfc2549.org>2012-12-14 12:58:27 +0100
commitc0ada659bb13c0c008ff78cc31f9c65fe5ce55c2 (patch)
treee99648de64436e8079dd51978215f99100f13c3a /openvpn/src/openvpn/buffer.c
parent8e61463fa17e61e84cb0d7ccf03bc2dde5eccaca (diff)
Update openvpn to Dual Stack version
Diffstat (limited to 'openvpn/src/openvpn/buffer.c')
-rw-r--r--openvpn/src/openvpn/buffer.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/openvpn/src/openvpn/buffer.c b/openvpn/src/openvpn/buffer.c
index 5eee3ee4..56d14b1a 100644
--- a/openvpn/src/openvpn/buffer.c
+++ b/openvpn/src/openvpn/buffer.c
@@ -782,6 +782,16 @@ char_class (const unsigned char c, const unsigned int flags)
return true;
if ((flags & CC_EQUAL) && c == '=')
return true;
+ if ((flags & CC_LESS_THAN) && c == '<')
+ return true;
+ if ((flags & CC_GREATER_THAN) && c == '>')
+ return true;
+ if ((flags & CC_PIPE) && c == '|')
+ return true;
+ if ((flags & CC_QUESTION_MARK) && c == '?')
+ return true;
+ if ((flags & CC_ASTERISK) && c == '*')
+ return true;
return false;
}