From 22a123ac402e7786ab4472c561a9e9a21cd21567 Mon Sep 17 00:00:00 2001 From: Thomas Osterried Date: Sat, 31 Jan 2009 21:25:45 +0000 Subject: Better integration in unix98 PTY environments. Revised the getopt_long() part. Assured strcpy cases. Thanks to Christoph for contribution. --- ax25ipd/ax25ipd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ax25ipd/ax25ipd.h') diff --git a/ax25ipd/ax25ipd.h b/ax25ipd/ax25ipd.h index 3b0a894..29ebb5e 100644 --- a/ax25ipd/ax25ipd.h +++ b/ax25ipd/ax25ipd.h @@ -74,7 +74,7 @@ int udp_mode; /* true if we need a UDP socket */ int ip_mode; /* true if we need the raw IP socket */ unsigned short my_udp; /* the UDP port to use (network byte order) */ -char ttydevice[128]; /* the tty device for serial comms */ +char ttydevice[PATH_MAX]; /* the tty device for serial comms */ int ttyspeed; /* The baud rate on the tty device */ unsigned char mycallsign[7]; /* My callsign, shifted ASCII with SSID */ unsigned char mycallsign2[7]; /* My seconds port callsign, shifted ASCII with SSID */ -- cgit v1.2.3