[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-net
Subject:    Re: `IFF_AUTOMEDIA' undeclared (first use this function)
From:       "Mr. James W. Laferriere Network Engineer" <babydr () nwrain ! net>
Date:       1998-03-29 23:04:41
[Download RAW message or body]


	Hello Phillip,  is the below diff approx. correct.
	It does compile ,  & what little testing I've done
	seems OK.  

On Sun, 29 Mar 1998, Philip Blundell wrote:
> >If this is a bug , Is there a quick and dirty way around it ?
> 
> Yes; just comment out the offending line.  Alternatively, the correct fix is 
> to put `#ifdef IFF_PORTSEL' around that entire block of code (between about 
> lines 511 and 547).
> 
> p.
 				Hth, JimL
+-----------------------------------------------------------------------+ 
|   James W. Laferriere  -  Network    Engineer  -  babydr@nwrain.net   |
|    System Techniques   -   25416  -  22nd S.   -   Kent, WA  98032    |
|      Give me VMS     -or-    Give me Linux   -but-   only on AXP      |
+-----------------------------------------------------------------------+
|-> Linux-Vax Port, Now in Progress  !YAY! there's Progress To Report <-|
|-> Please See http://ucnet.canberra.edu.au/~mikal/vaxlinux/home.html <-|
|-> Maintainer:   Michael Still mikal@blitzen.canberra.edu.au         <-|
+-----------------------------------------------------------------------+

--- ifconfig.c.old	Sun Mar 29 15:01:16 1998
+++ ifconfig.c	Sun Mar 29 14:58:09 1998
@@ -508,6 +508,8 @@
       continue;
     }
 
+ /* Per Phillip Blundell 19980329 */
+#ifdef IFF_PORTSEL
     if (!strcmp(*spp, "media") || !strcmp(*spp, "port")) {
       if (*++spp == NULL) usage();
       if (!strcasecmp(*spp, "auto")) {
@@ -545,6 +547,7 @@
       }
       continue;
     }
+#endif /* IFF_PORTSEL */ /* Per Phillip Blundell 19980329 */
     
     if (!strcmp(*spp, "trailers")) {
       goterr |= clr_flag(ifr.ifr_name, IFF_NOTRAILERS);

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic