Commit 7a3d7bf1 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Add stub for kernel_interface_operational.

parent 22be80a1
...@@ -37,6 +37,7 @@ struct kernel_route { ...@@ -37,6 +37,7 @@ struct kernel_route {
int kernel_setup(int setup, int ipv4); int kernel_setup(int setup, int ipv4);
int kernel_setup_socket(int setup); int kernel_setup_socket(int setup);
int kernel_setup_interface(int setup, const char *ifname, int ifindex); int kernel_setup_interface(int setup, const char *ifname, int ifindex);
int kernel_interface_operational(const char *ifname, int ifindex);
int kernel_interface_ipv4(const char *ifname, int ifindex, char *addr_r); int kernel_interface_ipv4(const char *ifname, int ifindex, char *addr_r);
int kernel_interface_mtu(const char *ifname, int ifindex); int kernel_interface_mtu(const char *ifname, int ifindex);
int kernel_interface_wireless(const char *ifname, int ifindex); int kernel_interface_wireless(const char *ifname, int ifindex);
......
...@@ -531,6 +531,12 @@ kernel_setup_interface(int setup, const char *ifname, int ifindex) ...@@ -531,6 +531,12 @@ kernel_setup_interface(int setup, const char *ifname, int ifindex)
return 1; return 1;
} }
int
kernel_interface_operational(const char *ifname, int ifindex)
{
return 1;
}
int int
kernel_interface_ipv4(const char *ifname, int ifindex, char *addr_r) kernel_interface_ipv4(const char *ifname, int ifindex, char *addr_r)
{ {
......
...@@ -220,6 +220,12 @@ kernel_setup_interface(int setup, const char *ifname, int ifindex) ...@@ -220,6 +220,12 @@ kernel_setup_interface(int setup, const char *ifname, int ifindex)
return 1; return 1;
} }
int
kernel_interface_operational(const char *ifname, int ifindex)
{
return 1;
}
int int
kernel_interface_ipv4(const char *ifname, int ifindex, char *addr_r) kernel_interface_ipv4(const char *ifname, int ifindex, char *addr_r)
{ {
......
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