tcomment out for old linux - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit d9742d7e94acc0279f687d3fd0c6360d36480f8b
 (DIR) parent a70ad97730d9cb160d6ce7028b5cac03f71e37b6
 (HTM) Author: rsc <devnull@localhost>
       Date:   Thu,  5 Jan 2006 17:00:43 +0000
       
       comment out for old linux
       
       Diffstat:
         M src/libip/Linux.c                   |      11 +++++++++--
       
       1 file changed, 9 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/libip/Linux.c b/src/libip/Linux.c
       t@@ -140,7 +140,12 @@ getlink(struct nlmsghdr *h, Ipifc **ipifclist, int index)
        
                if(attr[IFLA_MTU])
                        ifc->mtu = *(int*)RTA_DATA(attr[IFLA_MTU]);
       -        
       +
       +        /*
       +         * Does not work on old Linux systems,
       +         * and not really necessary for my purposes.
       +         * Uncomment if you want it bad.
       +         *
                if(attr[IFLA_STATS]){
                        struct rtnl_link_stats *s;
        
       t@@ -150,7 +155,9 @@ getlink(struct nlmsghdr *h, Ipifc **ipifclist, int index)
                        ifc->errin = s->rx_errors;
                        ifc->errout = s->tx_errors;
                }
       -        
       +         *
       +         */
       +
                if((fd = devsocket()) > 0){
                        struct ifreq ifr;