diff options
author | Maria Matejka <mq@jmq.cz> | 2020-04-08 22:25:15 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2020-04-09 15:37:14 +0200 |
commit | fd9f0c0640fd02a26b96b4f9d3cbbffbb6544a84 (patch) | |
tree | 3cfac115f49d41f3d62d41c4ddfffe50f2c381a4 /proto/radv/packets.c | |
parent | a109056145a6bc8a6b498ecb6e309ebc143c8b3c (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.c | 4 |
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; |