Forgot to remove some old #ifdef stuff.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 12 Oct 2001 15:38:35 +0000 (15:38 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 12 Oct 2001 15:38:35 +0000 (15:38 +0000)
src/solaris/device.c

index 725dad64e1346e3adf83b185ebaa3e0130d02b61..6f2d868ea2a416b3bf3e86ec16469858dca238dc 100644 (file)
@@ -17,7 +17,7 @@
     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>
@@ -106,19 +106,6 @@ cp
   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;