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/ospf/ospf.c | |
parent | a109056145a6bc8a6b498ecb6e309ebc143c8b3c (diff) |
Configuration strings are constant.
This is merely a const propagation. There was no problem in there.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r-- | proto/ospf/ospf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 63ff9e56..29610f4a 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -791,7 +791,7 @@ ospf_reconfigure(struct proto *P, struct proto_config *CF) void -ospf_sh_neigh(struct proto *P, char *iff) +ospf_sh_neigh(struct proto *P, const char *iff) { struct ospf_proto *p = (struct ospf_proto *) P; struct ospf_iface *ifa = NULL; @@ -900,7 +900,7 @@ ospf_sh(struct proto *P) } void -ospf_sh_iface(struct proto *P, char *iff) +ospf_sh_iface(struct proto *P, const char *iff) { struct ospf_proto *p = (struct ospf_proto *) P; struct ospf_iface *ifa = NULL; |