• Mikio Hara's avatar
    icmp: make Marshal of MessageBody, ParseMessage work correctly on parameter problem message · 7ed368b9
    Mikio Hara authored
    The wire format of parameter problem message is slightly different
    between ICMPv4 and ICMPv6. We need to distinguish each message's
    protocol family for avoiding dropping wrong wire format stuff on the
    wire.
    
    This is an API breaking change.
    
    type MessageBody interface, Marshal() ([]byte, error)
    
    is replaced with
    
    type MessageBody interface, Marshal(int) ([]byte, error)
    
    Fixes #9394.
    
    Change-Id: Id692c76f85a2714dd011342e648b31395ca668bf
    7ed368b9
Name
Last commit
Last update
context Loading commit data...
dict Loading commit data...
html Loading commit data...
icmp Loading commit data...
idna Loading commit data...
internal Loading commit data...
ipv4 Loading commit data...
ipv6 Loading commit data...
netutil Loading commit data...
proxy Loading commit data...
publicsuffix Loading commit data...
spdy Loading commit data...
webdav Loading commit data...
websocket Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...