mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
* Add dictionary.mpd to default package build and install it to /usr/local/share/mpd/dictionary.mpd. Thanks Dmitry Luhtionov who noted this omission. * If parent interface of PPPoE link (vlan, detachable USB ethernet etc.) got destroyed and re-added, detect that and continue automatically; manual interference was required before this import of upstream r2441.
15 lines
448 B
Text
15 lines
448 B
Text
Index: pppoe.c
|
|
===================================================================
|
|
--- src/pppoe.c (revision 2430)
|
|
+++ src/pppoe.c (working copy)
|
|
@@ -408,6 +408,10 @@ PppoeOpen(Link l)
|
|
&cn, sizeof(cn)) < 0) {
|
|
Perror("[%s] PPPoE: can't connect \"%s\"->\"%s\" and \"%s\"->\"%s\"",
|
|
l->name, path, cn.ourhook, cn.path, cn.peerhook);
|
|
+ if (errno == ENOENT) {
|
|
+ PppoeReleaseNode(l);
|
|
+ goto fail;
|
|
+ }
|
|
goto fail2;
|
|
}
|
|
|