diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2014-12-04 12:07:18 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-12-08 18:23:59 +0100 |
commit | 7c5d82806c11886bcc08821584fe51790a593feb (patch) | |
tree | 7c82070126191c13061e8880b1692c32b2e6f4da /system-dummy.c | |
parent | db99fce3f59d1a9629ca5bc7ec8f8208acf02816 (diff) | |
download | netifd-7c5d82806c11886bcc08821584fe51790a593feb.tar.gz |
netifd: Add igmpversion config support
Config support to set the IGMP host version on device level; possible values are :
1 : IGMPv1
2 : IGMPv2
3 : IGMPv3
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Cleand up and simplified
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'system-dummy.c')
-rw-r--r-- | system-dummy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system-dummy.c b/system-dummy.c index 76c6ffa..9542d3c 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -215,6 +215,12 @@ bool system_resolve_rpfilter(const char *filter, unsigned int *id) return true; } +bool system_resolve_igmpversion(const unsigned int version, unsigned int *id) +{ + *id = 0; + return true; +} + int system_add_iprule(struct iprule *rule) { return 0; |