summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/iplist.h
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1998-06-28 09:41:46 +0000
committerbrian <brian@cvs.openbsd.org>1998-06-28 09:41:46 +0000
commit8450d1a683f097861d2675e8d8c28164c4bdac1c (patch)
tree95c3fe45271b174e98c82903b21d288f993b5bce /usr.sbin/ppp/iplist.h
parent26708466d70aa1cf138b44070b2dcc110f5d469a (diff)
Don't assume sizeof(long) == 4
Diffstat (limited to 'usr.sbin/ppp/iplist.h')
-rw-r--r--usr.sbin/ppp/iplist.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ppp/iplist.h b/usr.sbin/ppp/iplist.h
index acdb584d925..6d348034ad6 100644
--- a/usr.sbin/ppp/iplist.h
+++ b/usr.sbin/ppp/iplist.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: iplist.h,v 1.2 1997/12/21 14:27:06 brian Exp $
+ * $Id: iplist.h,v 1.3 1998/06/28 09:41:39 brian Exp $
*/
struct iplist {
@@ -31,8 +31,9 @@ struct iplist {
struct in_addr ip;
int pos;
char *srcptr;
- int srcitem;
- u_long lstart, nItems;
+ u_long srcitem;
+ u_int32_t lstart;
+ u_long nItems;
} cur;
int nItems;
char src[LINE_LEN];