diff options
author | joerg <joerg@FreeBSD.org> | 2001-12-28 23:20:12 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2001-12-28 23:20:12 +0000 |
commit | 26773395ab051fe35883e9a86f7937e175b08a77 (patch) | |
tree | b8b348667bdc1052afc8900eebf6d48aab91f6aa /sys/net/if_sppp.h | |
parent | 993dd6cae8aeb291e5b42649fb73e2dd06bea74d (diff) | |
download | FreeBSD-src-26773395ab051fe35883e9a86f7937e175b08a77.zip FreeBSD-src-26773395ab051fe35883e9a86f7937e175b08a77.tar.gz |
Fix my breakage to the low-level hardware sync drivers brought by the
inclusion of VJ compression into sppp.
Now, instead of the need to include this and that and everything plus
the kitchensink in each of those drivers, struct sppp uses struct
slcompress as an opaque structure only referenced by a pointer. The
actual structure is then malloced at initialization time.
While i was at it, also fixed a bug where received VJ packets would only
be recognized if INET6 was defined.
Diffstat (limited to 'sys/net/if_sppp.h')
-rw-r--r-- | sys/net/if_sppp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_sppp.h b/sys/net/if_sppp.h index 7878d5c..bbdb78a 100644 --- a/sys/net/if_sppp.h +++ b/sys/net/if_sppp.h @@ -154,7 +154,7 @@ struct sppp { struct sipcp ipv6cp; /* IPv6CP params */ struct sauth myauth; /* auth params, i'm peer */ struct sauth hisauth; /* auth params, i'm authenticator */ - struct slcompress pp_comp; /* for VJ compression */ + struct slcompress *pp_comp; /* for VJ compression */ /* * These functions are filled in by sppp_attach(), and are * expected to be used by the lower layer (hardware) drivers |