Module Name: src Committed By: christos Date: Sat Oct 5 23:22:34 UTC 2013
Modified Files: src/sys/net: if.h Log Message: fix the source too, not just the doc. To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158 src/sys/net/if.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if.h diff -u src/sys/net/if.h:1.157 src/sys/net/if.h:1.158 --- src/sys/net/if.h:1.157 Sat Oct 5 19:16:54 2013 +++ src/sys/net/if.h Sat Oct 5 19:22:34 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: if.h,v 1.157 2013/10/05 23:16:54 christos Exp $ */ +/* $NetBSD: if.h,v 1.158 2013/10/05 23:22:34 christos Exp $ */ /*- * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc. @@ -598,7 +598,7 @@ struct ifreq { */ #define ifr_buf ifr_ifru.ifru_b.b_buf /* new interface ioctls */ #define ifr_buflen ifr_ifru.ifru_b.b_buflen -#define ifr_index ifr_ifru.ifru_index /* interface index */ +#define ifr_index ifr_ifru.ifru_value /* interface index */ }; #ifdef _KERNEL