diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2009-06-24 14:42:27 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:44 -0500 |
commit | 753a5f170d6ea9dd577067721a0ccbce69fc191c (patch) | |
tree | f795963577109287a6f3e1f053f0085cb555398f /slirp/udp.c | |
parent | c18a2c360e3100bbd71162cf922dcd8c429a8b71 (diff) |
slirp: Drop redundant lines from udp_input
The socket faddr/fport is already updated a few lines below, so these
are completely redundant.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/udp.c')
-rw-r--r-- | slirp/udp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/slirp/udp.c b/slirp/udp.c index 11e78cddd5..ba9d5c92ba 100644 --- a/slirp/udp.c +++ b/slirp/udp.c @@ -173,8 +173,6 @@ udp_input(register struct mbuf *m, int iphlen) for (tmp = udb.so_next; tmp != &udb; tmp = tmp->so_next) { if (tmp->so_lport == uh->uh_sport && tmp->so_laddr.s_addr == ip->ip_src.s_addr) { - tmp->so_faddr.s_addr = ip->ip_dst.s_addr; - tmp->so_fport = uh->uh_dport; so = tmp; break; } |