diff options
author | paul <paul> | 2004-05-31 14:00:00 +0000 |
---|---|---|
committer | paul <paul> | 2004-05-31 14:00:00 +0000 |
commit | 11dde9c2f03d3f3e0b2226378d70b7e3b9b219b2 (patch) | |
tree | ffa7674ee1ede1b6e39b586d313b8f305b8f1098 /ripd/rip_routemap.c | |
parent | 152f4a80026262c0a87bea408410b5a534f3f80e (diff) |
2004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>
* ripd.c: Fixup compile warnings
* rip_routemap.c: Ditto
Diffstat (limited to 'ripd/rip_routemap.c')
-rw-r--r-- | ripd/rip_routemap.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ripd/rip_routemap.c b/ripd/rip_routemap.c index bab29f32..45a45f4b 100644 --- a/ripd/rip_routemap.c +++ b/ripd/rip_routemap.c @@ -59,11 +59,9 @@ rip_route_match_add (struct vty *vty, struct route_map_index *index, case RMAP_RULE_MISSING: vty_out (vty, "%% Can't find rule.%s", VTY_NEWLINE); return CMD_WARNING; - break; case RMAP_COMPILE_ERROR: vty_out (vty, "%% Argument is malformed.%s", VTY_NEWLINE); return CMD_WARNING; - break; } } return CMD_SUCCESS; @@ -84,11 +82,9 @@ rip_route_match_delete (struct vty *vty, struct route_map_index *index, case RMAP_RULE_MISSING: vty_out (vty, "%% Can't find rule.%s", VTY_NEWLINE); return CMD_WARNING; - break; case RMAP_COMPILE_ERROR: vty_out (vty, "%% Argument is malformed.%s", VTY_NEWLINE); return CMD_WARNING; - break; } } return CMD_SUCCESS; @@ -109,11 +105,9 @@ rip_route_set_add (struct vty *vty, struct route_map_index *index, case RMAP_RULE_MISSING: vty_out (vty, "%% Can't find rule.%s", VTY_NEWLINE); return CMD_WARNING; - break; case RMAP_COMPILE_ERROR: vty_out (vty, "%% Argument is malformed.%s", VTY_NEWLINE); return CMD_WARNING; - break; } } return CMD_SUCCESS; @@ -134,19 +128,18 @@ rip_route_set_delete (struct vty *vty, struct route_map_index *index, case RMAP_RULE_MISSING: vty_out (vty, "%% Can't find rule.%s", VTY_NEWLINE); return CMD_WARNING; - break; case RMAP_COMPILE_ERROR: vty_out (vty, "%% Argument is malformed.%s", VTY_NEWLINE); return CMD_WARNING; - break; } } return CMD_SUCCESS; } /* Hook function for updating route_map assignment. */ +/* ARGSUSED */ void -rip_route_map_update () +rip_route_map_update (char *notused) { int i; |