From: Tom Goff Date: Thu, 3 Dec 2009 11:53:15 +0000 (+0300) Subject: zebra: make declaration const in rtm_flag_dump() X-Git-Tag: frr-2.0-rc1~2198 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=80b2a9418f0ee70318c677778d63f860f0f397c3;p=mirror%2Ffrr.git zebra: make declaration const in rtm_flag_dump() * kernel_socket.c: (rtm_flag_dump) Use a const message pointer to be in sync with commit ce0db9cb11c0bc2e7f89a7d042e50afa495556b4. --- diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index 8beac71d39..e8eaf28fbf 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -236,7 +236,7 @@ af_check (int family) static void rtm_flag_dump (int flag) { - struct message *mes; + const struct message *mes; static char buf[BUFSIZ]; buf[0] = '\0';