ports/net/mpd5/files/patch-fixparent
Eugene Grosbein 2c6ad754f6
net/mpd5: install dictionary.mpd and add fix r2441 from upstream
* 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.
2022-04-27 18:19:11 +07:00

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;
}