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/rip/rip.h | |
parent | a109056145a6bc8a6b498ecb6e309ebc143c8b3c (diff) | |
download | bird-fd9f0c0640fd02a26b96b4f9d3cbbffbb6544a84.tar.gz |
Configuration strings are constant.
This is merely a const propagation. There was no problem in there.
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r-- | proto/rip/rip.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h index 76294624..8d347000 100644 --- a/proto/rip/rip.h +++ b/proto/rip/rip.h @@ -221,8 +221,8 @@ void rip_withdraw_rte(struct rip_proto *p, net_addr *n, struct rip_neighbor *fro void rip_flush_table(struct rip_proto *p, struct rip_neighbor *n); struct rip_neighbor * rip_get_neighbor(struct rip_proto *p, ip_addr *a, struct rip_iface *ifa); void rip_update_bfd(struct rip_proto *p, struct rip_neighbor *n); -void rip_show_interfaces(struct proto *P, char *iff); -void rip_show_neighbors(struct proto *P, char *iff); +void rip_show_interfaces(struct proto *P, const char *iff); +void rip_show_neighbors(struct proto *P, const char *iff); /* packets.c */ void rip_send_request(struct rip_proto *p, struct rip_iface *ifa); |