* New pppd options have been added: * ifname, to set the name for the PPP interface device * defaultroute-metric, to set the metric for the default route * defaultroute6, to add an IPv6 default route (with nodefaultroute6 to prevent adding an IPv6 default route). * up_sdnotify, to have pppd notify systemd when the link is up. * The rp-pppoe plugin has new options: * host-uniq, to set the Host-Uniq value to send * pppoe-padi-timeout, to set the timeout for discovery packets * pppoe-padi-attempts, to set the number of discovery attempts. * Added the CLASS attribute in radius packets. * Fixed warnings and issues found by static analysis. - Obsoleted patches: [...] - Patches that got renamed, because they needed rediffing: [...] - bsc#1172916: Fix an outdated comment for lcp-echo-interval. OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=60
21 lines
348 B
Diff
21 lines
348 B
Diff
--- pppd/pppd.h.orig
|
|
+++ pppd/pppd.h
|
|
@@ -59,14 +59,17 @@
|
|
#include <net/ppp_defs.h>
|
|
#include "patchlevel.h"
|
|
|
|
+#undef __P
|
|
#if defined(__STDC__)
|
|
#include <stdarg.h>
|
|
#define __V(x) x
|
|
+#define __P(args) args
|
|
#else
|
|
#include <varargs.h>
|
|
#define __V(x) (va_alist) va_dcl
|
|
#define const
|
|
#define volatile
|
|
+#define __P(args)
|
|
#endif
|
|
|
|
#ifdef INET6
|