Applying desired patches

Jens Trzaska jt at barfoos.de
Fri Oct 10 03:20:24 PDT 2003


* 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&lr=&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    .\._/_)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20031010/2300fb4d/attachment.bin


More information about the freebsd-ipfw mailing list