diff options
author | Klaas Freitag <freitag@suse.de> | 1998-11-15 20:07:31 +0000 |
---|---|---|
committer | Klaas Freitag <freitag@suse.de> | 1998-11-15 20:07:31 +0000 |
commit | 49d6a0009c6ab09ed184028a082a098d455a34f2 (patch) | |
tree | f3e03429bb25dd641148c70cd8af596732c162f0 /lib/sit.c | |
parent | - Use numerical sort for interface sorting. (diff) | |
download | net-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.c | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -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 */ |