summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-11-25 01:21:39 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2013-11-25 01:21:39 +0100
commite237b28a4d4b17ab50182ac110f28594967e76dc (patch)
tree6ddd5c6b7138ed0bd60a925859d76005f21447e6 /sysdep/linux
parent5ebc92935cb58c78286d91f0831de94cd4ae0f9e (diff)
Changes primary addr selection on BSD to respect SIOCGIFADDR ioctl() result.
Thanks to Alexander V. Chernikov for the original patch.
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/krt-sys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/linux/krt-sys.h b/sysdep/linux/krt-sys.h
index 7b3043a7..7e97968a 100644
--- a/sysdep/linux/krt-sys.h
+++ b/sysdep/linux/krt-sys.h
@@ -27,6 +27,8 @@ static inline void kif_sys_postconfig(struct kif_config *c UNUSED) { }
static inline void kif_sys_init_config(struct kif_config *c UNUSED) { }
static inline void kif_sys_copy_config(struct kif_config *d UNUSED, struct kif_config *s UNUSED) { }
+static inline struct ifa * kif_get_primary_ip(struct iface *i) { return NULL; }
+
/* Kernel routes */