diff options
author | Thomas Osterried <thomas@osterried.de> | 2009-01-31 21:25:45 +0000 |
---|---|---|
committer | Thomas Osterried <thomas@osterried.de> | 2009-01-31 21:25:45 +0000 |
commit | 22a123ac402e7786ab4472c561a9e9a21cd21567 (patch) | |
tree | 93dca5647018137738c8eadbe82d0505829e342f /ax25ipd/ax25ipd.h | |
parent | a6ccc8055fd0caa1406fd098dfe9e2f522d2dad2 (diff) |
Better integration in unix98 PTY environments.
Revised the getopt_long() part.
Assured strcpy cases.
Thanks to Christoph <dk2crn> for contribution.
Diffstat (limited to 'ax25ipd/ax25ipd.h')
-rw-r--r-- | ax25ipd/ax25ipd.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |