Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144571041
D42485.id129851.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
550 B
Referenced Files
None
Subscribers
None
D42485.id129851.diff
View Options
diff --git a/lib/libnetmap/nmreq.c b/lib/libnetmap/nmreq.c
--- a/lib/libnetmap/nmreq.c
+++ b/lib/libnetmap/nmreq.c
@@ -54,8 +54,17 @@
nm_is_identifier(const char *s, const char *e)
{
for (; s != e; s++) {
- if (!isalnum(*s) && *s != '_') {
+ switch (*s) {
+ case '^': /* only SW ring */
+ case '*': /* NIC and SW */
+ case '-': /* one NIC ring pair */
+ case '/': /* start of flags */
+ case '@': /* start of memid */
+ case '{': /* netmap pipe open */
+ case '}': /* netmap pipe open */
return 0;
+ default:
+ break;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 10, 5:48 PM (17 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28628538
Default Alt Text
D42485.id129851.diff (550 B)
Attached To
Mode
D42485: libnetmap: change interface name character exclusion approach
Attached
Detach File
Event Timeline
Log In to Comment