Commit b58a9315 authored by Ralf Bächle's avatar Ralf Bächle

Fix the initialization of aftype_netrom. This was breaking everything

in net-tools dealing with interfaces, including other address families.
parent 643a9b10
...@@ -191,15 +191,16 @@ KISS_init(int fd) ...@@ -191,15 +191,16 @@ KISS_init(int fd)
#endif #endif
struct hwtype netrom_hwtype = { struct hwtype netrom_hwtype = {
"netrom", "AMPR NET/ROM", ARPHRD_NETROM, 7, "netrom", NULL, /* "AMPR NET/ROM", */ ARPHRD_NETROM, 7,
NETROM_print, NETROM_hprint, NETROM_hinput, NULL NETROM_print, NETROM_hprint, NETROM_hinput, NULL
}; };
struct aftype netrom_aftype = { struct aftype netrom_aftype = {
"netrom", "AMPR NET/ROM", AF_NETROM, 7, "netrom", NULL, /* "AMPR NET/ROM", */ AF_NETROM, 7,
NETROM_print, NETROM_sprint, NETROM_input, NETROM_herror, NETROM_print, NETROM_sprint, NETROM_input, NETROM_herror,
NULL/*NETROM_rprint*/ NULL, NULL, NULL,
-1,
"/proc/net/nr"
}; };
#endif /* HAVE_AFNETROM */ #endif /* HAVE_AFNETROM */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment