diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-12-05 17:59:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-05 17:59:28 +0200 |
| commit | e358b4e345d96a488aa2f53aa93566a75aa6f875 (patch) | |
| tree | e4366cdc7d5814bdc62bd5841f207b9fd77de7a3 /src/ipaddrcheck_functions.h | |
| parent | c34294b7a18072c7bd4eaf8ec0f433bb374fad5c (diff) | |
| parent | 779b5be2a5d096eff2db3313c4ee502a3b593db8 (diff) | |
| download | ipaddrcheck-e358b4e345d96a488aa2f53aa93566a75aa6f875.tar.gz ipaddrcheck-e358b4e345d96a488aa2f53aa93566a75aa6f875.zip | |
Merge pull request #19 from dmbaturin/T7973-allow-all-zero-ipv6-hosts
T7973: do not disallow all-zero host part IPv6 host addresses
Diffstat (limited to 'src/ipaddrcheck_functions.h')
| -rw-r--r-- | src/ipaddrcheck_functions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipaddrcheck_functions.h b/src/ipaddrcheck_functions.h index b717d74..bd131cf 100644 --- a/src/ipaddrcheck_functions.h +++ b/src/ipaddrcheck_functions.h @@ -2,7 +2,7 @@ * ipaddrcheck_functions.h: macros and prototypes for ipaddrcheck * * Copyright (C) 2013 Daniil Baturin - * Copyright (C) 2018-2024 VyOS maintainers and contributors + * Copyright (C) 2018-2025 VyOS maintainers and contributors * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -50,6 +50,7 @@ #define IPV6_MULTICAST "ff00::/8" #define IPV6_LINKLOCAL "fe80::/64" #define IPV6_LOOPBACK "::1/128" +#define IPV6_UNSPECIFIED "::/0" #define NO_LOOPBACK 0 #define LOOPBACK_ALLOWED 1 |
