Bugs item #831036, was opened at 2003-10-27 15:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=113751&aid=831036&group_id=13751

Category: Release/Branch: Bering
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Hans Ulrich Niedermann (hun)
Assigned to: Jacques Nilo (jnilo)
Summary: [Bering uClibc 2.0RC2] shorewall fails, confused by IPv6

Initial Comment:
Hi,

when the kernel has IPv6 support enabled, starting up
shorewall fails.

When IPv6 is enabled (ipv6.o loaded), the ethernet
interfaces automatically get an IPv6 address.

This address is listed in the output of "ip addr show
dev $ETHIF" with an "inet6" prefix, as opposed to the
"inet" prefix for IPv4 addresses.

Unfortunately, shorewall sometimes uses a simple "ip
addr show dev $ETHIF | grep inet" to find an IPv4
address, which also matches the inet6 addresses.

Replacing the "grep inet" with "grep 'inet '" (add
quotes and space) fixes the problem.

Patch attached.

Gruß,

Uli

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=113751&aid=831036&group_id=13751


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to