Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate


Monday, February 22nd, 2016 at 12:22:04pm UTC 

  1. diff --git a/sys/boot/efi/libefi/efinet.c b/sys/boot/efi/libefi/efinet.c
  2. index 6ff8bdc..7dbcaa6 100644
  3. --- a/sys/boot/efi/libefi/efinet.c
  4. +++ b/sys/boot/efi/libefi/efinet.c
  5. @@ -101,7 +101,11 @@ efinet_match(struct netif *nif, void *machdep_hint)
  6.  {
  7.         struct devdesc *dev = machdep_hint;
  9. +       /* If this is a match use it */
  10.         if (dev->d_unit == nif->nif_unit)
  11. +               return (2);
  12. +       /* Fallback to the first unit opened for exclusive access */
  13. +       if (nif->nif_driver->netif_ifs[nif->nif_unit].dif_unit >= 0)
  14.                 return (1);
  15.         return(0);
  16.  }


Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)

Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus