aboutsummaryrefslogtreecommitdiff
path: root/lib/sit.c
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@suse.de>1998-11-15 20:07:31 +0000
committerKlaas Freitag <freitag@suse.de>1998-11-15 20:07:31 +0000
commit49d6a0009c6ab09ed184028a082a098d455a34f2 (patch)
treef3e03429bb25dd641148c70cd8af596732c162f0 /lib/sit.c
parent- Use numerical sort for interface sorting. (diff)
downloadnet-tools-49d6a0009c6ab09ed184028a082a098d455a34f2.tar.gz
net-tools-49d6a0009c6ab09ed184028a082a098d455a34f2.tar.bz2
net-tools-49d6a0009c6ab09ed184028a082a098d455a34f2.zip
Yow. This is net-tools completely reindented.
Some other cleanups: - lib/net-string.c removed because it was not used and had a copyright notice that conflicted with the GPL. - Minor cleanups. - Fix an potential buffer overflow in ax25. - Switch to CVS $Id$ for versioning consistently
Diffstat (limited to 'lib/sit.c')
-rw-r--r--lib/sit.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/lib/sit.c b/lib/sit.c
index 8db82df..88c3ae2 100644
--- a/lib/sit.c
+++ b/lib/sit.c
@@ -1,18 +1,18 @@
/*
- * lib/sit.c This file contains the SIT HW-type support.
+ * lib/sit.c This file contains the SIT HW-type support.
*
- * Version: sit.c 0.01 (1996-08-08)
+ * Version: $Id: sit.c,v 1.3 1998/11/15 20:12:12 freitag Exp $
*
- * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
- * Copyright 1993 MicroWalt Corporation
+ * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
+ * Copyright 1993 MicroWalt Corporation
*
- * Based on slip.c, modified by Frank Strauss, Aug 1996
+ * Based on slip.c, modified by Frank Strauss, Aug 1996
*
- * This program is free software; you can redistribute it
- * and/or modify it under the terms of the GNU General
- * Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at
- * your option) any later version.
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software
+ * Foundation; either version 2 of the License, or (at
+ * your option) any later version.
*/
#include "config.h"
@@ -33,9 +33,10 @@
#include "net-support.h"
#include "pathnames.h"
-struct hwtype sit_hwtype = {
- "sit", NULL, /*"IPv6-in-IPv4",*/ ARPHRD_SIT, 0,
- NULL, NULL, NULL, NULL
+struct hwtype sit_hwtype =
+{
+ "sit", NULL, /*"IPv6-in-IPv4", */ ARPHRD_SIT, 0,
+ NULL, NULL, NULL, NULL
};
-#endif /* HAVE_HWSIT */
+#endif /* HAVE_HWSIT */