Fix uninitialised pointer.

Found by: Brian Sommers
This commit is contained in:
Julian Elischer 2001-01-11 15:42:22 +00:00
parent 8301794f59
commit 0069b9cb86
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70931

View File

@ -791,6 +791,7 @@ AAA
printf("pppoe: Session not primed\n");
LEAVE(EISCONN);
}
neg = sp->neg;
neg->service.hdr.tag_type = PTT_SRV_NAME;
neg->service.hdr.tag_len =
htons((u_int16_t)ourmsg->data_len);