diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-11-30 17:44:48 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-11-30 17:44:48 +0100 |
| commit | c5fec3c9a36d69e85f5a04bdeb17775f746d49de (patch) | |
| tree | 3328922e2f8e3bcf81d5536af4ccc2cef14c8bd1 /overlays/pppd | |
| parent | 79f8998177079cafe66365e2a13fdd50f1fa9a0d (diff) | |
| download | nixos-c5fec3c9a36d69e85f5a04bdeb17775f746d49de.tar nixos-c5fec3c9a36d69e85f5a04bdeb17775f746d49de.tar.gz nixos-c5fec3c9a36d69e85f5a04bdeb17775f746d49de.tar.bz2 nixos-c5fec3c9a36d69e85f5a04bdeb17775f746d49de.tar.xz nixos-c5fec3c9a36d69e85f5a04bdeb17775f746d49de.zip | |
...flakes
Diffstat (limited to 'overlays/pppd')
| -rw-r--r-- | overlays/pppd/default.nix | 8 | ||||
| -rw-r--r-- | overlays/pppd/no-double-timeout.patch | 13 |
2 files changed, 0 insertions, 21 deletions
diff --git a/overlays/pppd/default.nix b/overlays/pppd/default.nix deleted file mode 100644 index 4f9467e9..00000000 --- a/overlays/pppd/default.nix +++ /dev/null | |||
| @@ -1,8 +0,0 @@ | |||
| 1 | { final, prev, ... }: | ||
| 2 | { | ||
| 3 | ppp = prev.ppp.overrideAttrs (oldAttrs: { | ||
| 4 | patches = (oldAttrs.patches or []) ++ [ | ||
| 5 | ./no-double-timeout.patch | ||
| 6 | ]; | ||
| 7 | }); | ||
| 8 | } | ||
diff --git a/overlays/pppd/no-double-timeout.patch b/overlays/pppd/no-double-timeout.patch deleted file mode 100644 index 53f41ae1..00000000 --- a/overlays/pppd/no-double-timeout.patch +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | diff --git i/pppd/plugins/pppoe/discovery.c w/pppd/plugins/pppoe/discovery.c | ||
| 2 | index 86bda61..8060558 100644 | ||
| 3 | --- i/pppd/plugins/pppoe/discovery.c | ||
| 4 | +++ w/pppd/plugins/pppoe/discovery.c | ||
| 5 | @@ -686,7 +686,7 @@ discovery1(PPPoEConnection *conn, int waitWholeTimeoutForPADO) | ||
| 6 | conn->discoveryState = STATE_SENT_PADI; | ||
| 7 | waitForPADO(conn, timeout, waitWholeTimeoutForPADO); | ||
| 8 | |||
| 9 | - timeout *= 2; | ||
| 10 | + // timeout *= 2; | ||
| 11 | } while (conn->discoveryState == STATE_SENT_PADI); | ||
| 12 | } | ||
| 13 | |||
