diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-05-15 08:38:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-15 08:38:06 -0400 |
| commit | 36caef199ae3af4efddda7b5d2a6d9f43b8f58c4 (patch) | |
| tree | 59e26fedb422cace74a0e5bbf5216b7204ed58b0 /lib/prefix.h | |
| parent | 5704e7109dc562d7d85c9b2a80ad8759cfba56ed (diff) | |
| parent | 82624cef0cf4475aed2be23ed8cad02a8e886d2e (diff) | |
Merge pull request #6404 from FRRouting/dev_isis_sr
isisd: IS-IS Segment Routing support
Diffstat (limited to 'lib/prefix.h')
| -rw-r--r-- | lib/prefix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prefix.h b/lib/prefix.h index f2952c38c3..4b2d90d63a 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -522,7 +522,7 @@ static inline int is_default_prefix(const struct prefix *p) return 0; } -static inline int is_host_route(struct prefix *p) +static inline int is_host_route(const struct prefix *p) { if (p->family == AF_INET) return (p->prefixlen == IPV4_MAX_BITLEN); |
