Ethereal-dev: [ethereal-dev] minor updates

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date Next Thread Next
From: Laurent Deniel <deniel@xxxxxxxxxxx>
Date: Mon, 02 Nov 1998 18:55:55 +0100
 Hi,

 I have attached a diff to ethereal 0.4.1 that fixes some compilation 
 errors with standard compilers (e.g. solaris 2.6 with SunOS'cc).

 Laurent.

--
Laurent DENIEL            | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE             |         deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
                          | WWW   : http://www.worldnet.fr/~deniel
    All above opinions are personal, unless stated otherwise.
diff -u --recursive --new-file ethereal-0.4.1/packet-bootp.c ethereal-0.4.1-deniel/packet-bootp.c
--- ethereal-0.4.1/packet-bootp.c	Wed Oct 14 01:51:48 1998
+++ ethereal-0.4.1-deniel/packet-bootp.c	Mon Nov  2 15:48:02 1998
@@ -270,6 +270,7 @@
 
 		default:
 			/* nothing */
+			break;
 	}
 
 	/* Normal cases */
diff -u --recursive --new-file ethereal-0.4.1/packet-ncp.h ethereal-0.4.1-deniel/packet-ncp.h
--- ethereal-0.4.1/packet-ncp.h	Thu Oct 15 23:51:34 1998
+++ ethereal-0.4.1-deniel/packet-ncp.h	Mon Nov  2 15:53:47 1998
@@ -52,7 +52,7 @@
 	guint8    task       ;
 	guint8    conn_high  ;*/
 	guint8    function   ;
-	guint8    data[0]    ;
+/*	guint8    data[0]    ; */
 };
 
 #define NCP_REPLY                (0x3333)
@@ -66,7 +66,7 @@
 	guint8    conn_high         ;*/
 	guint8    completion_code   ;
 	guint8    connection_state  ;
-	guint8    data[0]           ;
+/*	guint8    data[0]           ;*/
 };
 
 
diff -u --recursive --new-file ethereal-0.4.1/packet-rip.c ethereal-0.4.1-deniel/packet-rip.c
--- ethereal-0.4.1/packet-rip.c	Sun Sep 27 22:12:52 1998
+++ ethereal-0.4.1-deniel/packet-rip.c	Mon Nov  2 15:54:33 1998
@@ -107,6 +107,7 @@
 		auth = TRUE;
 		break;
             default:
+		break;
 	        /* return; */
 	}