diff options
-rw-r--r-- | lwip/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lwip/main.c b/lwip/main.c index 0d7c9d6b..ff9051db 100644 --- a/lwip/main.c +++ b/lwip/main.c @@ -161,7 +161,7 @@ translator_bind (int portclass, const char *name) if (!err) { - if (lwip_protid_portclasses[portclass] != MACH_PORT_NULL) + if (lwip_protid_portclasses[portclass] != NULL) error (1, 0, "Cannot bind one protocol to multiple nodes.\n"); err = @@ -221,7 +221,7 @@ main (int argc, char **argv) error (-1, 0, "Must be started as a translator"); /* Create portclass to install on the bootstrap port. */ - if (lwip_protid_portclasses[lwip_bootstrap_portclass] != MACH_PORT_NULL) + if (lwip_protid_portclasses[lwip_bootstrap_portclass] != NULL) error (1, 0, "No portclass left to assign to bootstrap port"); err = |