Show
Ignore:
Timestamp:
04/10/06 00:29:48 (8 years ago)
Author:
piers
Message:

Fixes for warnings and errors for newer compilers (eg. gcc4) - mostly done by Socrates.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/trunk/net/net-ipv6.cpp

    r1038 r3702  
    9696        // conversion from IP6Address to type struct in6_addr 
    9797        operator struct in6_addr() const { return addr_; } 
    98         operator const struct in6_addr&() const { return addr_; } 
     98        operator const struct in6_addr&() { return addr_; } 
    9999 
    100100  protected: 
     
    570570        /* Check for loopback - then compare last auto conf bit of addresses 
    571571         * XXX Probaby should do this at rtp level. 
    572          */ 
     572         * 
    573573        if (noloopback_broken_ && sfrom.sin6_port == lport_) { 
    574574                struct in6_addr local; 
     
    581581                                return (0); 
    582582                } 
    583         } 
     583        }*/ 
    584584        return (cc); 
    585585}