projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6014c7e
)
Forgot to remove some old #ifdef stuff.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 12 Oct 2001 15:38:35 +0000
(15:38 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 12 Oct 2001 15:38:35 +0000
(15:38 +0000)
src/solaris/device.c
patch
|
blob
|
history
diff --git
a/src/solaris/device.c
b/src/solaris/device.c
index
725dad6
..
6f2d868
100644
(file)
--- a/
src/solaris/device.c
+++ b/
src/solaris/device.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: device.c,v 1.1.2.
1 2001/10/12 15:33:21
guus Exp $
+ $Id: device.c,v 1.1.2.
2 2001/10/12 15:38:35
guus Exp $
*/
#include <sys/sockio.h>
*/
#include <sys/sockio.h>
@@
-106,19
+106,6
@@
cp
return 0;
}
return 0;
}
-#ifdef HAVE_SOLARIS
- if((lenin = read(tap_fd, vp.data + 14, MTU)) <= 0)
- {
- syslog(LOG_ERR, _("Error while reading from tun device: %m"));
- return;
- }
- memcpy(vp.data, mymac.net.mac.address.x, 6);
- memcpy(vp.data + 6, mymac.net.mac.address.x, 6);
- vp.data[12] = 0x08;
- vp.data[13] = 0x00;
- vp.len = lenin + 14;
-#else
-
int read_packet(vpn_packet_t *packet)
{
int lenin;
int read_packet(vpn_packet_t *packet)
{
int lenin;