diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2020-05-19 13:29:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-19 13:29:00 -0400 |
| commit | 55add95cd7353adec9b46e61b93172d2030a6faa (patch) | |
| tree | 77ba9fd06936de116a542e8d12e7f3e3fdcfd174 /lib/if.c | |
| parent | 3f2e6c01fa25b32dc3db74ea42f2c01440ba5db8 (diff) | |
| parent | 5eb567edc8980ef8a9a70e12bdfce2d5b3b09374 (diff) | |
Merge pull request #6428 from volta-networks/fix_mpls_te_bw
lib: fix bandwidth multiplier for link param
Diffstat (limited to 'lib/if.c')
| -rw-r--r-- | lib/if.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1274,7 +1274,7 @@ struct if_link_params *if_link_params_get(struct interface *ifp) /* Compute default bandwidth based on interface */ iflp->default_bw = ((ifp->bandwidth ? ifp->bandwidth : DEFAULT_BANDWIDTH) - * TE_KILO_BIT / TE_BYTE); + * TE_MEGA_BIT / TE_BYTE); /* Set Max, Reservable and Unreserved Bandwidth */ iflp->max_bw = iflp->default_bw; |
