summaryrefslogtreecommitdiff
path: root/proto/radv/packets.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@jmq.cz>2020-04-08 22:25:15 +0200
committerMaria Matejka <mq@ucw.cz>2020-04-09 15:37:14 +0200
commitfd9f0c0640fd02a26b96b4f9d3cbbffbb6544a84 (patch)
tree3cfac115f49d41f3d62d41c4ddfffe50f2c381a4 /proto/radv/packets.c
parenta109056145a6bc8a6b498ecb6e309ebc143c8b3c (diff)
Configuration strings are constant.
This is merely a const propagation. There was no problem in there.
Diffstat (limited to 'proto/radv/packets.c')
-rw-r--r--proto/radv/packets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/radv/packets.c b/proto/radv/packets.c
index 3139d321..5cd8b2de 100644
--- a/proto/radv/packets.c
+++ b/proto/radv/packets.c
@@ -173,8 +173,8 @@ radv_process_domain(struct radv_dnssl_config *cf)
{
/* Format of domain in search list is <size> <label> <size> <label> ... 0 */
- char *dom = cf->domain;
- char *dom_end = dom; /* Just to */
+ const char *dom = cf->domain;
+ const char *dom_end = dom; /* Just to */
u8 *dlen_save = &cf->dlen_first;
uint len;