summaryrefslogtreecommitdiff
path: root/proto/rip/packets.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/rip/packets.c')
-rw-r--r--proto/rip/packets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/rip/packets.c b/proto/rip/packets.c
index 468927e6..722a9012 100644
--- a/proto/rip/packets.c
+++ b/proto/rip/packets.c
@@ -739,6 +739,7 @@ rip_open_socket(struct rip_iface *ifa)
sk->sport = ifa->cf->port;
sk->dport = ifa->cf->port;
sk->iface = ifa->iface;
+ sk->vrf = p->p.vrf;
/*
* For RIPv2, we explicitly choose a primary address, mainly to ensure that