Skip to content

fix compilation error #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions netkeeper-interception/src/netkeeper-interception-c.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ static unsigned char savepwd[MAXSECRETLEN] = {0};

int pap_modifyaccount()
{
uint8_t len_user;
uint8_t len_passwd;
u_int8_t len_user;
u_int8_t len_passwd;
FILE *dF = fopen ("/var/Last_AuthReq", "r");
if(dF){
fread(&len_user,1,1,dF);
Expand Down
4 changes: 2 additions & 2 deletions netkeeper-interception/src/netkeeper-interception-s.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ char pppd_version[] = PPPOE_VER;
//static char saveuser[MAXNAMELEN] = {0};
//static char savepwd[MAXSECRETLEN] = {0};

void print_hex __P(( unsigned char *, uint8_t, printer_func, void *));
void print_hex_to_file __P(( unsigned char *, uint8_t, printer_func, FILE *));
void print_hex( unsigned char *p, uint8_t, printer_func, void *);
void print_hex_to_file( unsigned char *p, uint8_t, printer_func, FILE *);

void print_hex (p, len, printer, arg)
unsigned char *p;
Expand Down