]> git.hungrycats.org Git - linux/commitdiff
[IPV6]: C99 initializers for IPV6 sockglue (and spelling fix).
authorStephen Hemminger <shemminger@osdl.org>
Fri, 4 Apr 2003 09:32:18 +0000 (01:32 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Fri, 4 Apr 2003 09:32:18 +0000 (01:32 -0800)
net/ipv6/ipv6_sockglue.c

index 9576a3a03800dec987f9e5d8a2c53cf68ba9697c..e15532f6f81fad74239f2938e3d36e0df16a49b9 100644 (file)
@@ -55,20 +55,18 @@ DEFINE_SNMP_STAT(struct ipv6_mib, ipv6_statistics);
 
 static struct packet_type ipv6_packet_type =
 {
-       __constant_htons(ETH_P_IPV6), 
-       NULL,                                   /* All devices */
-       ipv6_rcv,
-       (void*)1,
-       NULL
+       .type = __constant_htons(ETH_P_IPV6), 
+       .dev  = NULL,                           /* All devices */
+       .func = ipv6_rcv,
+       .data = (void*)1,
 };
 
 /*
- *     addrconf module should be notifyed of a device going up
+ *     addrconf module should be notified of a device going up
  */
 static struct notifier_block ipv6_dev_notf = {
-       addrconf_notify,
-       NULL,
-       0
+       .notifier_call = addrconf_notify,
+       .priority = 0
 };
 
 struct ip6_ra_chain *ip6_ra_chain;