]> err.no Git - linux-2.6/commitdiff
[RTNETLINK]: Add comma to final entry in link_rtnetlink_table
authorDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2005 05:37:04 +0000 (22:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2005 05:37:04 +0000 (22:37 -0700)
Noticed by Herbert Xu.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c

index 15e968c697cce165a242b693608e221e3b0c6b66..44dfaf8f04afd7cbde0487a5a35ccef5eb4f48ce 100644 (file)
@@ -648,7 +648,7 @@ static struct rtnetlink_link link_rtnetlink_table[RTM_MAX-RTM_BASE+1] =
        [RTM_NEWNEIGH - RTM_BASE] = { .doit   = neigh_add             },
        [RTM_DELNEIGH - RTM_BASE] = { .doit   = neigh_delete          },
        [RTM_GETNEIGH - RTM_BASE] = { .dumpit = neigh_dump_info       },
-       [RTM_GETRULE  - RTM_BASE] = { .dumpit = rtnetlink_dump_all    }
+       [RTM_GETRULE  - RTM_BASE] = { .dumpit = rtnetlink_dump_all    },
 };
 
 static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr)