summaryrefslogtreecommitdiffstats
path: root/src/tests/hellotest.c
diff options
context:
space:
mode:
authorMichael Brown2006-12-28 00:09:46 +0100
committerMichael Brown2006-12-28 00:09:46 +0100
commit61ed298bc7dc60c84fea456444e853a73de0c901 (patch)
tree99978dfeb667df0f79356cc4132f99922e2fd803 /src/tests/hellotest.c
parentKeep running the main processing loop while waiting for input. (diff)
downloadipxe-61ed298bc7dc60c84fea456444e853a73de0c901.tar.gz
ipxe-61ed298bc7dc60c84fea456444e853a73de0c901.tar.xz
ipxe-61ed298bc7dc60c84fea456444e853a73de0c901.zip
Merge changes from mcb-tcp-fixes branch.
Diffstat (limited to 'src/tests/hellotest.c')
-rw-r--r--src/tests/hellotest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/hellotest.c b/src/tests/hellotest.c
index 4565f13a5..a873c03e2 100644
--- a/src/tests/hellotest.c
+++ b/src/tests/hellotest.c
@@ -32,7 +32,7 @@ void test_hello ( struct sockaddr_tcpip *server, const char *message ) {
inet_ntoa ( sin->sin_addr ), ntohs ( sin->sin_port ) );
memset ( &hello, 0, sizeof ( hello ) );
- memcpy ( &hello.tcp.peer, server, sizeof ( hello.tcp.peer ) );
+ memcpy ( &hello.server, server, sizeof ( hello.server ) );
hello.message = message;
hello.callback = test_hello_callback;