ALT Linux repos
S: | 2.5.0-alt1 |
5.0: | 2.4.4-alt11 |
4.1: | 2.4.4-alt10.M41.1 |
4.0: | 2.4.4-alt10 |
+updates: | 2.4.4-alt10 |
3.0: | 2.4.2-alt6 |
+updates: | 2.4.2-alt6.M30.1 |
Group :: System/Servers
RPM: ppp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: ppp-2.4.2-rp-pppoe-macaddr.patch
Download
Download
diff -urN ppp-2.4.2-20020901.org/pppd/plugins/rp-pppoe/plugin.c ppp-2.4.2-20020901/pppd/plugins/rp-pppoe/plugin.c
--- ppp-2.4.2-20020901.org/pppd/plugins/rp-pppoe/plugin.c Tue Sep 3 22:16:35 2002
+++ ppp-2.4.2-20020901/pppd/plugins/rp-pppoe/plugin.c Tue Sep 3 22:17:41 2002
@@ -174,6 +174,8 @@
(unsigned) conn->peerEth[4],
(unsigned) conn->peerEth[5]);
+ script_setenv("MACREMOTE", remote_number, 0);
+
if (connect(conn->sessionSocket, (struct sockaddr *) &sp,
sizeof(struct sockaddr_pppox)) < 0) {
fatal("Failed to connect PPPoE socket: %d %m", errno);