From 38f3e7c2f526fb70d7bc52ed62910fea506dc84f Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 10 May 2006 19:21:58 +0000 Subject: suppressed unaligned accesses git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1911 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slirp/if.c') diff --git a/slirp/if.c b/slirp/if.c index 2ce9a64..94132ca 100644 --- a/slirp/if.c +++ b/slirp/if.c @@ -52,8 +52,8 @@ if_init() if_maxlinkhdr = 40; #endif #else - /* 14 for ethernet + 40 */ - if_maxlinkhdr = 14 + 40; + /* 2 for alignment, 14 for ethernet, 40 for TCP/IP */ + if_maxlinkhdr = 2 + 14 + 40; #endif if_mtu = 1500; if_mru = 1500; -- cgit v1.1