X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fmain.c;h=203202fe6ed6ffcbc21cbcf7cd102c58e5b3a9a9;hb=4e2c49755175d05f7f4a3c1c70a42d2eef9d7839;hp=db0aa97230c1f25cca4a6134dc2b402939cf0b94;hpb=ab4d4992050ec171e1c72d661a3457efc8e7c141;p=ppp.git diff --git a/pppd/main.c b/pppd/main.c index db0aa97..203202f 100644 --- a/pppd/main.c +++ b/pppd/main.c @@ -124,7 +124,7 @@ /* interface vars */ -char ifname[MAXIFNAMELEN]; /* Interface name */ +char ifname[IFNAMSIZ]; /* Interface name */ int ifunit; /* Interface unit number */ struct channel *the_channel;