version 1.2, 1996/03/27 19:33:15 |
version 1.3, 1996/12/12 11:24:08 |
|
|
#include <arpa/telnet.h> |
#include <arpa/telnet.h> |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/time.h> |
#include <sys/time.h> |
|
#include <sys/socket.h> |
|
#include <unistd.h> |
#include <ctype.h> |
#include <ctype.h> |
|
|
#include "general.h" |
#include "general.h" |
|
|
# define min(x,y) ((x<y)? x:y) |
# define min(x,y) ((x<y)? x:y) |
unsigned char *pThis; |
unsigned char *pThis; |
int offset; |
int offset; |
extern pettydump; |
|
|
|
offset = 0; |
offset = 0; |
|
|
|
|
int length; /* length of suboption data */ |
int length; /* length of suboption data */ |
{ |
{ |
register int i; |
register int i; |
char buf[512]; |
|
extern int want_status_response; |
extern int want_status_response; |
|
|
if (showoptions || direction == 0 || |
if (showoptions || direction == 0 || |
|
|
break; |
break; |
|
|
default: |
default: |
def_case: |
|
if (isprint(pointer[i]) && pointer[i] != '"') { |
if (isprint(pointer[i]) && pointer[i] != '"') { |
if (noquote) { |
if (noquote) { |
putc('"', NetTrace); |
putc('"', NetTrace); |