Bug 123465

Summary: [ip6] route(8): route add -inet6 <ipv6_addr> -interface gif0 -proxy mangle ipv6 address
Product: Base System Reporter: Henri Hennebert <hlh>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me CC: grahamperrin
Priority: Normal    
Version: 7.0-RELEASE   
Hardware: Any   
OS: Any   

Description Henri Hennebert 2008-05-06 16:10:03 UTC
If you try to add a ipv6 proxy address like:

route add -inet6 2001:41d0:1:2ad2:1::/80 -interface gif0 -proxy

at line 734 of /usr/src/sbin/route/route.c


    if (proxy) {
-->     so_dst.sinarp.sin_other = SIN_PROXY;                                                                            
        flags |= RTF_ANNOUNCE;

`so_dst.sinarp.sin_other = SIN_PROXY;'

mangles the ipv6 address!

Henri

Fix: 

For inet6, remove the offending line...
How-To-Repeat: route add -inet6 2001:41d0:1:2ad2:1::/80 -interface gif0 -proxy
Comment 1 Volker Werth freebsd_committer freebsd_triage 2008-05-11 22:58:44 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net


Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:30 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped