summaryrefslogtreecommitdiffstats
path: root/ripd/rip_routemap.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-08 08:36:38 +0200
committerhasso <hasso>2004-10-08 08:36:38 +0200
commit8a676be30c275bcbe1a3de08c0c942a606caef2e (patch)
treec2202db7df836073b542e49c5f579062ee8b6d57 /ripd/rip_routemap.c
parentOnly warning left is the known lvalue problem in ripng_nexthop.c. (diff)
downloadfrr-8a676be30c275bcbe1a3de08c0c942a606caef2e.tar.xz
frr-8a676be30c275bcbe1a3de08c0c942a606caef2e.zip
There is no warnings here any more.
Diffstat (limited to 'ripd/rip_routemap.c')
-rw-r--r--ripd/rip_routemap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ripd/rip_routemap.c b/ripd/rip_routemap.c
index 45a45f4b9..ffe13170b 100644
--- a/ripd/rip_routemap.c
+++ b/ripd/rip_routemap.c
@@ -47,7 +47,7 @@ struct rip_metric_modifier
/* Add rip route map rule. */
int
rip_route_match_add (struct vty *vty, struct route_map_index *index,
- char *command, char *arg)
+ const char *command, char *arg)
{
int ret;
@@ -70,7 +70,7 @@ rip_route_match_add (struct vty *vty, struct route_map_index *index,
/* Delete rip route map rule. */
int
rip_route_match_delete (struct vty *vty, struct route_map_index *index,
- char *command, char *arg)
+ const char *command, char *arg)
{
int ret;
@@ -93,7 +93,7 @@ rip_route_match_delete (struct vty *vty, struct route_map_index *index,
/* Add rip route map rule. */
int
rip_route_set_add (struct vty *vty, struct route_map_index *index,
- char *command, char *arg)
+ const char *command, char *arg)
{
int ret;
@@ -116,7 +116,7 @@ rip_route_set_add (struct vty *vty, struct route_map_index *index,
/* Delete rip route map rule. */
int
rip_route_set_delete (struct vty *vty, struct route_map_index *index,
- char *command, char *arg)
+ const char *command, char *arg)
{
int ret;