Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 180180 | Differences between
and this patch

Collapse All | Expand All

(-)ppp-2.4.4.auth-fail/pppd/auth.c (+2 lines)
Lines 1225-1230 Link Here
1225
    if (user[0] == 0)
1225
    if (user[0] == 0)
1226
	strlcpy(user, our_name, sizeof(user));
1226
	strlcpy(user, our_name, sizeof(user));
1227
1227
1228
    script_setenv("LOCALNAME", user, 0);
1229
1228
    /*
1230
    /*
1229
     * If we have a default route, require the peer to authenticate
1231
     * If we have a default route, require the peer to authenticate
1230
     * unless the noauth option was given or the real user is root.
1232
     * unless the noauth option was given or the real user is root.
(-)ppp-2.4.4.auth-fail/pppd/pppd.8 (+5 lines)
Lines 1560-1565 Link Here
1560
The authenticated name of the peer.  This is only set if the peer
1560
The authenticated name of the peer.  This is only set if the peer
1561
authenticates itself.
1561
authenticates itself.
1562
.TP
1562
.TP
1563
.B LOCALNAME
1564
The username passed to the user option of the pppd daemon.  This is
1565
handy to identify which account was used for authentication purposes
1566
when multiple accounts is available.
1567
.TP
1563
.B SPEED
1568
.B SPEED
1564
The baud rate of the tty device.
1569
The baud rate of the tty device.
1565
.TP
1570
.TP

Return to bug 180180