summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-02-10 12:00:47 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-02-10 12:00:47 +0000
commite773a3458d95d337208b58a1d260f0b1bd57a3b4 (patch)
tree41fac4605ecf7e524e2b0fa4c8d4564515515589 /sys
parent348e77d88f460bb51621887866d4d02779a5cc75 (diff)
undef SLMTU if it's been externally defined
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_strip.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/if_strip.c b/sys/net/if_strip.c
index 7516d4f4167..c49e3e9c2d8 100644
--- a/sys/net/if_strip.c
+++ b/sys/net/if_strip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_strip.c,v 1.9 1997/09/05 04:27:02 millert Exp $ */
+/* $OpenBSD: if_strip.c,v 1.10 1998/02/10 12:00:46 angelos Exp $ */
/* $NetBSD: if_strip.c,v 1.2.4.3 1996/08/03 00:58:32 jtc Exp $ */
/* from: NetBSD: if_sl.c,v 1.38 1996/02/13 22:00:23 christos Exp $ */
@@ -194,6 +194,9 @@ typedef char ttychar_t;
#endif
#define SLMAX (MCLBYTES - BUFOFFSET)
#define SLBUFSIZE (SLMAX + BUFOFFSET)
+#ifdef SLMTU
+#undef SLMTU
+#endif
#define SLMTU 1100 /* XXX -- appromaximated. 1024 may be safer. */
#define STRIP_MTU_ONWIRE (SLMTU + 20 + STRIP_HDRLEN) /* (2*SLMTU+2 in sl.c */