diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-12 19:49:11 -0400 | 
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-08-06 21:26:23 -0300 | 
| commit | daa64bdf49bef8911f9b3b28028ac2f60dac7169 (patch) | |
| tree | c48803fc28db5f29f163ee20ade17e2d9e671a94 /eigrpd/eigrp_zebra.c | |
| parent | c371cd6bf06a0ac0cb280b2cbadaac6a2f86af91 (diff) | |
eigrpd: Use the eigrp->vrf_id where we can immediately transform
For those places where we can immediately transform the usage
of VRF_DEFAULT to eigrp->vrf_id do so.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_zebra.c')
| -rw-r--r-- | eigrpd/eigrp_zebra.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/eigrpd/eigrp_zebra.c b/eigrpd/eigrp_zebra.c index 0a74e86263..921a521660 100644 --- a/eigrpd/eigrp_zebra.c +++ b/eigrpd/eigrp_zebra.c @@ -443,7 +443,7 @@ int eigrp_redistribute_set(struct eigrp *eigrp, int type,  	eigrp->dmetric[type] = metric;  	zclient_redistribute(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP, type, 0, -			     VRF_DEFAULT); +			     eigrp->vrf_id);  	++eigrp->redistribute; @@ -456,7 +456,7 @@ int eigrp_redistribute_unset(struct eigrp *eigrp, int type)  	if (eigrp_is_type_redistributed(type)) {  		memset(&eigrp->dmetric[type], 0, sizeof(struct eigrp_metrics));  		zclient_redistribute(ZEBRA_REDISTRIBUTE_DELETE, zclient, AFI_IP, -				     type, 0, VRF_DEFAULT); +				     type, 0, eigrp->vrf_id);  		--eigrp->redistribute;  	}  | 
