Browse Source

[ripd] remove unnecessary 0 entries from struct message's

2008-03-13 Paul Jakma <paul.jakma@sun.com>

	* ripd.c/rip_interface.c: Remove 0 entries from rip_msg
	  ri_version_msg struct message's, not needed with recent fixes
	  to mes_lookup.
Paul Jakma 14 years ago
parent
commit
ce6ab03a27
3 changed files with 6 additions and 2 deletions
  1. 6 0
      ripd/ChangeLog
  2. 0 1
      ripd/rip_interface.c
  3. 0 1
      ripd/ripd.c

+ 6 - 0
ripd/ChangeLog

@@ -1,3 +1,9 @@
+2008-03-13 Paul Jakma <paul.jakma@sun.com>
+
+	* ripd.c/rip_interface.c: Remove 0 entries from rip_msg 
+	  ri_version_msg struct message's, not needed with recent fixes
+	  to mes_lookup.
+
 2007-04-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
 
 	* ripd.c: (rip_vty_out_uptime) Remove unused variable timer_now.

+ 0 - 1
ripd/rip_interface.c

@@ -55,7 +55,6 @@ struct message ri_version_msg[] =
   {RI_RIP_VERSION_1,       "1"},
   {RI_RIP_VERSION_2,       "2"},
   {RI_RIP_VERSION_1_AND_2, "1 2"},
-  {0,                      NULL}
 };
 
 extern struct zebra_privs_t ripd_privs;

+ 0 - 1
ripd/ripd.c

@@ -84,7 +84,6 @@ struct message rip_msg[] =
   {RIP_TRACEOFF,   "TRACEOFF"},
   {RIP_POLL,       "POLL"},
   {RIP_POLL_ENTRY, "POLL ENTRY"},
-  {0,              NULL}
 };
 
 /* Utility function to set boradcast option to the socket. */