diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-03-12 23:07:58 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-03-12 23:07:58 +0100 |
commit | 8f2d9a139fa48e964e46be4bc8b7b451a0a721c9 (patch) | |
tree | 71c9bb99d43bb5338eeb49d3970d4a3f3ec50b45 /sys/src/9/ip/icmp.c | |
parent | 090a40473261a31a5bd0b08976b39cb4ee09bdc9 (diff) |
devip: handle ignoreadvice flag for all protocols
Diffstat (limited to 'sys/src/9/ip/icmp.c')
-rw-r--r-- | sys/src/9/ip/icmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/9/ip/icmp.c b/sys/src/9/ip/icmp.c index d1652147a..fc32696b6 100644 --- a/sys/src/9/ip/icmp.c +++ b/sys/src/9/ip/icmp.c @@ -449,6 +449,8 @@ icmpadvise(Proto *icmp, Block *bp, char *msg) s = *c; if(s->lport == recid) if(ipcmp(s->raddr, dst) == 0){ + if(s->ignoreadvice) + break; qhangup(s->rq, msg); qhangup(s->wq, msg); break; |