diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-08-20 09:14:03 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-09-02 10:33:23 -0400 | 
| commit | 8f74a383b36052c2f595692d4d201352540d47c0 (patch) | |
| tree | 312e580ad87caddc8a0b2dede42b26e3c0e8aaed /zebra/zebra_srte.c | |
| parent | f2595bd5057190f846b3bbff78bf44e538d46a2c (diff) | |
zebra: Convert to `struct zebra_lsp` as per our internal standard
We do not use typedef's to talk about structures as per our standard.
Fixing.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_srte.c')
| -rw-r--r-- | zebra/zebra_srte.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_srte.c b/zebra/zebra_srte.c index 167edf81f7..ba3727371c 100644 --- a/zebra/zebra_srte.c +++ b/zebra/zebra_srte.c @@ -211,7 +211,7 @@ static void zebra_sr_policy_notify_update(struct zebra_sr_policy *policy)  }  static void zebra_sr_policy_activate(struct zebra_sr_policy *policy, -				     zebra_lsp_t *lsp) +				     struct zebra_lsp *lsp)  {  	policy->status = ZEBRA_SR_POLICY_UP;  	policy->lsp = lsp; @@ -222,7 +222,7 @@ static void zebra_sr_policy_activate(struct zebra_sr_policy *policy,  }  static void zebra_sr_policy_update(struct zebra_sr_policy *policy, -				   zebra_lsp_t *lsp, +				   struct zebra_lsp *lsp,  				   struct zapi_srte_tunnel *old_tunnel)  {  	bool bsid_changed; @@ -267,7 +267,7 @@ int zebra_sr_policy_validate(struct zebra_sr_policy *policy,  			     struct zapi_srte_tunnel *new_tunnel)  {  	struct zapi_srte_tunnel old_tunnel = policy->segment_list; -	zebra_lsp_t *lsp; +	struct zebra_lsp *lsp;  	if (new_tunnel)  		policy->segment_list = *new_tunnel;  | 
