summaryrefslogtreecommitdiffstats
path: root/lib/srv6.h
diff options
context:
space:
mode:
authorHiroki Shirokura <slank.dev@gmail.com>2020-02-19 13:46:24 +0100
committerMark Stapp <mjs@voltanet.io>2021-06-02 16:24:47 +0200
commit7a4b49bdd1ce453cb50a84167fb9f3e2f8e58630 (patch)
tree73b1def711b59872d7ce9301a40eaea2ff5161d9 /lib/srv6.h
parentMerge pull request #8759 from idryzhov/ospf6-vrf-fix (diff)
downloadfrr-7a4b49bdd1ce453cb50a84167fb9f3e2f8e58630.tar.xz
frr-7a4b49bdd1ce453cb50a84167fb9f3e2f8e58630.zip
lib: refactor func prototype seg6local_context2str (step1)
Make seg6local_context2str function's prototype better. This function is added on commit e496b4203, and function interface's considering wasn't enough. Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'lib/srv6.h')
-rw-r--r--lib/srv6.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/srv6.h b/lib/srv6.h
index 24c7ffc3a..b72b098c7 100644
--- a/lib/srv6.h
+++ b/lib/srv6.h
@@ -119,9 +119,9 @@ static inline void *sid_copy(struct in6_addr *dst,
const char *
seg6local_action2str(uint32_t action);
-const char *
-seg6local_context2str(char *str, size_t size,
- struct seg6local_context *ctx, uint32_t action);
+const char *seg6local_context2str(char *str, size_t size,
+ const struct seg6local_context *ctx,
+ uint32_t action);
int snprintf_seg6_segs(char *str,
size_t size, const struct seg6_segs *segs);