Applying desired patches

Dan Vande More dvm at firstlink.com
Fri Oct 10 07:23:54 PDT 2003


I even tried applying this by hand, but was unsuccessful, nothing
errored, it just still didn't work.
I had to fall back to plan b of just natting using this box. 
However, I do intend on figuring this out. 
Thanks for your help Jens!

Dan

-----Original Message-----
From: Jens Trzaska [mailto:jt at barfoos.de]
Sent: Friday, October 10, 2003 4:20 AM
To: Dan Vande More
Cc: freebsd-ipfw at freebsd.org
Subject: Re: Applying desired patches


* Dan Vande More <dvm at firstlink.com> [2003-10-09 19:28]:
> Silly question, but probably not the worst;)
> 
> I found Luigi Rizzo's recent patch under google groups and a few
forums for transparent bridge forwarding support.
> Ref:
http://groups.google.com/groups?q=ipfw%40freebsd.org+apply+patch&hl=en&l
r=&ie=UTF-8&oe=UTF-8&selm=48WJVb%24Nj7%40bbs.whnet.edu.cn&rnum=5
> Ref: http://www.freebsdforums.org/forums/showthread.php?threadid=14795
> 
> For one reason or another, I'm having problems figuring out how to get
it in my source code.
> I'm running 4.8 release, with src/ ready to build. However, I can't
quite figure it out. 
> What do I need to do to apply the patches? 
> 
> My current ip_fw2.c is 1.6.2.11. 
> 
> Do I need to jump up to the latest cvs, then apply the patch using
patch < bridge.patch?

Just write the patch into bridge.patch and 
'cd /usr/src/sys/netinet && patch -p0 < bridge.patch'. That should do
the trick.


jens

-- 
Jens Trzaska
(__)
 
\\\'',)
                                                                      \/
\ ^
GPG-Fingerprint 1C9B 7EF8 1A22 1740 9F1B  AB7B 17D2 64E1 96FE 36DB
.\._/_)


More information about the freebsd-ipfw mailing list