summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2000-01-17 12:27:53 +0000
committerbrian <brian@cvs.openbsd.org>2000-01-17 12:27:53 +0000
commit4b0fd6fa10ef9895285bd4e88a0b6e1057fc0af2 (patch)
tree677b5b002341c83bd051dd9425e757842d8e4c29 /usr.sbin/ppp
parentd2e0da1e006f6ef0608253df4a961e137bca6678 (diff)
Use AUTHLEN for the length of authname
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/mp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp/mp.h b/usr.sbin/ppp/ppp/mp.h
index 8ae3d7540c1..0adcd99e04f 100644
--- a/usr.sbin/ppp/ppp/mp.h
+++ b/usr.sbin/ppp/ppp/mp.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp.h,v 1.5 1999/08/05 10:32:14 brian Exp $
+ * $Id: mp.h,v 1.6 2000/01/17 12:27:52 brian Exp $
*/
struct mbuf;
@@ -56,7 +56,7 @@ struct enddisc {
struct peerid {
struct enddisc enddisc; /* Peers endpoint discriminator */
- char authname[50]; /* Peers name (authenticated) */
+ char authname[AUTHLEN]; /* Peers name (authenticated) */
};
struct mpserver {