summaryrefslogtreecommitdiff
path: root/slirp/udp.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-13 19:48:42 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-13 19:48:42 +0000
commitfea36e0c299e25d223489173a869bc8c5cdb36f8 (patch)
tree39a83db9110fec6aeb0b75db86f3073f41611ec6 /slirp/udp.h
parent1d9c0e05e455d5e7ca0218b5b5a75d2efcb1badb (diff)
downloadqemu-fea36e0c299e25d223489173a869bc8c5cdb36f8.tar.gz
qemu-fea36e0c299e25d223489173a869bc8c5cdb36f8.tar.bz2
qemu-fea36e0c299e25d223489173a869bc8c5cdb36f8.zip
Fix 64 bit issue in slirp
Signed-off-by: Gleb Natapov <gleb@redhat.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6288 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/udp.h')
-rw-r--r--slirp/udp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/slirp/udp.h b/slirp/udp.h
index 4f69b098c3..e2ca54645a 100644
--- a/slirp/udp.h
+++ b/slirp/udp.h
@@ -60,8 +60,7 @@ struct udpiphdr {
struct ipovly ui_i; /* overlaid ip structure */
struct udphdr ui_u; /* udp header */
};
-#define ui_next ui_i.ih_next
-#define ui_prev ui_i.ih_prev
+#define ui_mbuf ui_i.ih_mbuf.mptr
#define ui_x1 ui_i.ih_x1
#define ui_pr ui_i.ih_pr
#define ui_len ui_i.ih_len