summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/kconf/scan.l1
-rwxr-xr-xtools/taptest3
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/kconf/scan.l b/tools/kconf/scan.l
index e9daec0..38cb028 100644
--- a/tools/kconf/scan.l
+++ b/tools/kconf/scan.l
@@ -42,6 +42,7 @@
"yes" { return YES; }
"no" { return NO; }
\"([^\"])*\" { yylval.str = strdup(yytext); return STRING; }
+0[xX][0-9a-fA-F]+ { yylval.str = strdup(yytext); return STRING; }
[a-zA-Z_][a-zA-Z0-9_]+ { yylval.str = strdup(yytext); return IDENTIFIER; }
[0-9]+ { yylval.num = atoi(yytext); return NUMBER; }
[ \t] { /* Ignore */ }
diff --git a/tools/taptest b/tools/taptest
new file mode 100755
index 0000000..aedfbf6
--- /dev/null
+++ b/tools/taptest
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+arping -b -c 3 -I tap0 192.168.10.255