mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
dhcp-client: parse RFC8910 captive portal dhcp option
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
#define ALPHANUMERICAL LETTERS DIGITS
|
||||
#define HEXDIGITS DIGITS "abcdefABCDEF"
|
||||
#define LOWERCASE_HEXDIGITS DIGITS "abcdef"
|
||||
#define URI_RESERVED ":/?#[]@!$&'()*+;=" /* [RFC3986] */
|
||||
#define URI_UNRESERVED ALPHANUMERICAL "-._~" /* [RFC3986] */
|
||||
#define URI_VALID URI_RESERVED URI_UNRESERVED /* [RFC3986] */
|
||||
|
||||
static inline char* strstr_ptr(const char *haystack, const char *needle) {
|
||||
if (!haystack || !needle)
|
||||
|
||||
Reference in New Issue
Block a user