From 7a1d583c02253c53605f310d1afcc9f1c8e15b7b Mon Sep 17 00:00:00 2001 From: hasso Date: Fri, 8 Oct 2004 06:32:23 +0000 Subject: Only warning left is the known lvalue problem in ripng_nexthop.c. --- ripngd/ripngd.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'ripngd/ripngd.c') diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 4d7c0216..a7254bc1 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -296,11 +296,11 @@ ripng_recv_packet (int sock, u_char *buf, int bufsize, /* Dump rip packet */ void -ripng_packet_dump (struct ripng_packet *packet, int size, char *sndrcv) +ripng_packet_dump (struct ripng_packet *packet, int size, const char *sndrcv) { caddr_t lim; struct rte *rte; - char *command_str; + const char *command_str; /* Set command string. */ if (packet->command == RIPNG_REQUEST) @@ -1935,12 +1935,13 @@ ripng_event (enum ripng_event event, int sock) } } -/* Each route type's strings and default preference. */ +/* Each route type's strings and default preference. + * FIXME: ISIS? What are these distance values? */ struct { int key; - char *str; - char *str_long; + const char *str; + const char *str_long; int distance; } route_info[] = { -- cgit v1.2.1