diff --git a/tools/scat.c b/tools/scat.c index 19be4e96b..0e67c458e 100644 --- a/tools/scat.c +++ b/tools/scat.c @@ -26,7 +26,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: scat.c,v 1.3 2007/01/05 18:05:21 bg- Exp $ + * $Id: scat.c,v 1.4 2007/01/23 12:33:27 bg- Exp $ * */ @@ -55,10 +55,12 @@ #define SLIP_ESC_END 0334 #define SLIP_ESC_ESC 0335 +#ifndef BAUDRATE #define BAUDRATE B115200 //#define BAUDRATE B57600 //#define BAUDRATE B38400 //#define BAUDRATE B19200 +#endif void stty_telos(int fd) diff --git a/tools/tunslip.c b/tools/tunslip.c index 16138f12a..2b20fa4cd 100644 --- a/tools/tunslip.c +++ b/tools/tunslip.c @@ -28,7 +28,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: tunslip.c,v 1.7 2007/01/12 18:23:19 bg- Exp $ + * $Id: tunslip.c,v 1.8 2007/01/23 12:33:42 bg- Exp $ * */ @@ -684,10 +684,12 @@ tun_to_serial(int infd, int outfd) write_to_serial(outfd, uip.inbuf, size); } +#ifndef BAUDRATE #define BAUDRATE B115200 //#define BAUDRATE B57600 //#define BAUDRATE B38400 //#define BAUDRATE B19200 +#endif void stty_telos(int fd)