You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/dibbler/files/dibbler-1.0.1-fno-common.patch

26 lines
562 B

--- a/Port-linux/interface.c
+++ b/Port-linux/interface.c
@@ -43,6 +43,9 @@
#include <linux/sockios.h>
#include <linux/if_ether.h>
+int interface_auto_up;
+int interface_do_message;
+
void daemon_log(int loglevel, const char *fmt,...)
{
char buf[255];
--- a/Port-linux/interface.h
+++ b/Port-linux/interface.h
@@ -23,8 +23,8 @@
extern "C" {
#endif
-int interface_auto_up;
-int interface_do_message;
+extern int interface_auto_up;
+extern int interface_do_message;
typedef enum { IFSTATUS_UP, IFSTATUS_DOWN, IFSTATUS_ERR } interface_status_t;