cvs commit: src/sys/modules/if_gre Makefile src/sys/net if_gre.c

Bruce M Simpson bms at FreeBSD.org
Fri Nov 14 12:58:02 PST 2003


bms         2003/11/14 12:58:00 PST

  FreeBSD src repository

  Modified files:
    sys/modules/if_gre   Makefile 
    sys/net              if_gre.c 
  Log:
  Fix a bug whereby the physical endpoints of a gre(4) tunnel would not
  be printed, if the module were loaded into a kernel which had INET6 enabled.
  
  The gre(4) driver does not use INET6, nor is it specified for IPv6. The
  tunnel_status() function in ifconfig(8) is somewhat overzealous and assumes
  that all tunnel interfaces speak KAME ifioctls.
  
  This fix follows the path of least resistance, by teaching gre(4) about
  the two KAME ifioctls concerned.
  
  PR:     bin/56341
  
  Revision  Changes    Path
  1.5       +5 -2      src/sys/modules/if_gre/Makefile
  1.14      +7 -0      src/sys/net/if_gre.c


More information about the cvs-src mailing list