]> The Tcpdump Group git mirrors - libpcap/blobdiff - gencode.c
Retire Tru64 UNIX and Ultrix support.
[libpcap] / gencode.c
index 425eb3a52ef901bb75560a7febc9b943ff2a52f0..d3c79e9246c9975091cbcdc55e351435510eb1ff 100644 (file)
--- a/gencode.c
+++ b/gencode.c
@@ -6864,15 +6864,6 @@ stringtoport(compiler_state_t *cstate, const char *string, size_t string_size,
                        free(cpy);
                        break;
                }
-#if defined(ultrix) || defined(__osf__)
-               /* Special hack in case NFS isn't in /etc/services */
-               if (strcmp(cpy, "nfs") == 0) {
-                       val = 2049;
-                       *proto = PROTO_UNDEF;
-                       free(cpy);
-                       break;
-               }
-#endif
                bpf_set_error(cstate, "'%s' is not a valid port", cpy);
                free(cpy);
                longjmp(cstate->top_ctx, 1);