]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: make declaration const in rtm_flag_dump()
authorTom Goff <thomas.goff@boeing.com>
Thu, 3 Dec 2009 11:53:15 +0000 (14:53 +0300)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 3 Dec 2009 11:53:15 +0000 (14:53 +0300)
* kernel_socket.c: (rtm_flag_dump) Use a const message pointer to be
in sync with commit ce0db9cb11c0bc2e7f89a7d042e50afa495556b4.

zebra/kernel_socket.c

index 8beac71d3917f36f3a54e466343e1645d8e5678b..e8eaf28fbf98645cc1f0b8f5adaf203b0ccdd3e9 100644 (file)
@@ -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';