diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 09:46:16 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 09:46:16 -0500 |
commit | 64de0e46c06eeb2edb21a936aa4e4b60ca2e5a25 (patch) | |
tree | d748f40749b7a21d77b1d4d1a23871ce3fa1ce8c /slirp/ip_input.c | |
parent | 23487df884048ed801095e9525baf1bb94e8b4b0 (diff) | |
parent | ec67464c4f137f58c040d1d351f540268e883b85 (diff) |
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
Diffstat (limited to 'slirp/ip_input.c')
-rw-r--r-- | slirp/ip_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/ip_input.c b/slirp/ip_input.c index 5e67631ab4..c7b3eb4806 100644 --- a/slirp/ip_input.c +++ b/slirp/ip_input.c @@ -511,7 +511,7 @@ typedef uint32_t n_time; */ break; } - off--; / * 0 origin * / + off--; /* 0 origin */ if (off > optlen - sizeof(struct in_addr)) { /* * End of source route. Should be for us. @@ -554,7 +554,7 @@ typedef uint32_t n_time; /* * If no space remains, ignore. */ - off--; * 0 origin * + off--; /* 0 origin */ if (off > optlen - sizeof(struct in_addr)) break; bcopy((caddr_t)(&ip->ip_dst), (caddr_t)&ipaddr.sin_addr, |