Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 07:23:32 -0800 (PST)
From:      Adrian Pavlykevych <pam@polynet.lviv.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/35861: if_vlan module is compiled with ZERO vlan interfaces
Message-ID:  <200203131523.g2DFNWo93520@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         35861
>Category:       kern
>Synopsis:       if_vlan module is compiled with ZERO vlan interfaces
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 13 07:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Pavlykevych
>Release:        RELENG_4
>Organization:
Lviv National Polytechnic University
>Environment:
FreeBSD betelgeuse.lp.lviv.ua 4.5-STABLE FreeBSD 4.5-STABLE #1: Wed Mar 13 16:51:23 EET 2002     root@betelgeuse.lp.lviv.ua:/home/obj/usr/src/sys/SOUCERER  i386
>Description:
if_vlan.ko module is compiled with NVLAN=0. This means no VLANs available to use on out of the box system.
>How-To-Repeat:
# kldload if_vlan
#ifconfig -a 

No vlan interfaces will be listed
>Fix:
*** sys/modules/if_vlan/Makefile.orig   Wed Mar 13 17:18:16 2002
--- sys/modules/if_vlan/Makefile        Wed Mar 13 17:12:38 2002
***************
*** 4,10 ****

  KMOD= if_vlan
  SRCS= if_vlan.c opt_inet.h
! CFLAGS+= -DNVLAN=0
  NOMAN=

  opt_inet.h:
--- 4,10 ----

  KMOD= if_vlan
  SRCS= if_vlan.c opt_inet.h
! CFLAGS+= -DNVLAN=16
  NOMAN=

  opt_inet.h:    
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203131523.g2DFNWo93520>