diff options
author | Tom Gundersen <teg@jklm.no> | 2016-05-20 17:27:58 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2016-05-20 17:27:58 +0200 |
commit | 51e0b250779d28eaffff886b5a3cb208c6813a40 (patch) | |
tree | f3c6a9cae081c1d87a75f7144ecf2a26cb69297f /src/basic/string-util.h | |
parent | 4e282d11b7f4d08c85b8b80b055b3c92f6714ee1 (diff) | |
parent | 9ed8b06c9be4a5efae432d5cf4b1c47d03e6f107 (diff) |
Merge pull request #3235 from dkg/hwaddr-cleanup
minor improvements for dealing with MAC Addresses
Diffstat (limited to 'src/basic/string-util.h')
-rw-r--r-- | src/basic/string-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/string-util.h b/src/basic/string-util.h index ad0c813761..139cc8c91b 100644 --- a/src/basic/string-util.h +++ b/src/basic/string-util.h @@ -37,6 +37,7 @@ #define UPPERCASE_LETTERS "ABCDEFGHIJKLMNOPQRSTUVWXYZ" #define LETTERS LOWERCASE_LETTERS UPPERCASE_LETTERS #define ALPHANUMERICAL LETTERS DIGITS +#define HEXDIGITS DIGITS "abcdefABCDEF" #define streq(a,b) (strcmp((a),(b)) == 0) #define strneq(a, b, n) (strncmp((a), (b), (n)) == 0) |