diff options
| author | Michael Brown | 2006-04-24 17:31:02 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-04-24 17:31:02 +0200 |
| commit | 0d97f0d48211b6f4149b3616f86a00f88814e447 (patch) | |
| tree | 3bc56dfee47b3b810b022e3b4fadcc67975e59ae /src | |
| parent | Don't bother poisoning lists; it costs code size. (diff) | |
| download | ipxe-0d97f0d48211b6f4149b3616f86a00f88814e447.tar.gz ipxe-0d97f0d48211b6f4149b3616f86a00f88814e447.tar.xz ipxe-0d97f0d48211b6f4149b3616f86a00f88814e447.zip | |
Obviate uip_init(); our bss is zeroed at startup already.
Diffstat (limited to 'src')
| -rw-r--r-- | src/proto/uip/uip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/proto/uip/uip.c b/src/proto/uip/uip.c index 287362c2d..c452dd3d9 100644 --- a/src/proto/uip/uip.c +++ b/src/proto/uip/uip.c @@ -131,7 +131,7 @@ static u8_t iss[4]; /* The iss variable is used for the TCP initial sequence number. */ #if UIP_ACTIVE_OPEN -static u16_t lastport; /* Keeps track of the last port used for +static u16_t lastport = 1024; /* Keeps track of the last port used for a new connection. */ #endif /* UIP_ACTIVE_OPEN */ @@ -174,6 +174,7 @@ void uip_log(char *msg); #endif /* UIP_LOGGING == 1 */ /*-----------------------------------------------------------------------------------*/ +#if 0 void uip_init(void) { @@ -200,6 +201,7 @@ uip_init(void) #endif /* UIP_FIXEDADDR */ } +#endif /*-----------------------------------------------------------------------------------*/ #if UIP_ACTIVE_OPEN struct uip_conn * |
