FreeBSD Bugzilla – Attachment 9596 Details for
Bug 19603
20 ethernet interfaces not compatible with option BRIDGE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 658 bytes, created by
dgilbert
on 2000-06-30 14:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dgilbert
Created:
2000-06-30 14:40:01 UTC
Size:
658 bytes
patch
obsolete
>--- bridge.h.orig Fri Jun 30 09:24:59 2000 >+++ bridge.h Fri Jun 30 09:25:13 2000 >@@ -92,7 +92,7 @@ > } ; > > struct bdg_stats { >- struct bdg_port_stat s[16]; >+ struct bdg_port_stat s[BDG_MAX_PORTS]; > } ; > > >--- bridge.c.orig Fri Jun 30 09:24:37 2000 >+++ bridge.c Fri Jun 30 09:25:13 2000 >@@ -440,6 +440,9 @@ > eth_addr = bdg_addresses ; > > printf("BRIDGE 990810, have %d interfaces\n", if_index); >+ if(if_index > BDG_MAX_PORTS) >+ panic("bdginit: too many ports, raise BDG_MAX_PORTS"); >+ > for (i = 0 , ifp = ifnet.tqh_first ; i < if_index ; > i++, ifp = ifp->if_link.tqe_next) > if (ifp->if_type == IFT_ETHER) { /* ethernet ? */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19603
: 9596