[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 753a5f1] slirp: Drop redundant lines from udp_inp
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 753a5f1] slirp: Drop redundant lines from udp_input |
Date: |
Tue, 30 Jun 2009 00:57:26 -0000 |
From: Jan Kiszka <address@hidden>
The socket faddr/fport is already updated a few lines below, so these
are completely redundant.
Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/slirp/udp.c b/slirp/udp.c
index 11e78cd..ba9d5c9 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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 753a5f1] slirp: Drop redundant lines from udp_input,
Anthony Liguori <=