@@ -1348,10 +1348,10 @@ func (p *Provider) EnsureNVE(ctx context.Context, req *NVERequest) error {
13481348
13491349type NXOSPF struct {
13501350 // PropagateDefaultRoute is equivalent to the CLI command `default-information originate`
1351- ProgateDefaultRoute * bool
1351+ PropagateDefaultRoute * bool
13521352 // RedistributionConfigs is a list of redistribution configurations for the OSPF process.
13531353 RedistributionConfigs []RedistributionConfig
1354- // Distance is the adminitrative distance value (1-255) for OSPF routes. Cisco's default is 110.
1354+ // Distance is the administrative distance value (1-255) for OSPF routes. Cisco's default is 110.
13551355 Distance int16
13561356 // ReferenceBandwidthMbps is the reference bandwidth in Mbps used for OSPF calculations. By default Cisco NX-OS
13571357 // assigns a cost that is the configured reference bandwidth divided by the interface bandwidth. The
@@ -1454,9 +1454,9 @@ func (p *Provider) EnsureOSPF(ctx context.Context, req *provider.EnsureOSPFReque
14541454 dom .InterleakItems .InterLeakPList .Set (rd )
14551455 }
14561456
1457- if cfg .ProgateDefaultRoute != nil {
1457+ if cfg .PropagateDefaultRoute != nil {
14581458 dom .DefrtleakItems .Always = "no"
1459- if * cfg .ProgateDefaultRoute {
1459+ if * cfg .PropagateDefaultRoute {
14601460 dom .DefrtleakItems .Always = "yes"
14611461 }
14621462 }
@@ -1780,7 +1780,7 @@ func (p *Provider) EnsureSNMP(ctx context.Context, req *provider.EnsureSNMPReque
17801780 if c .Group != "" {
17811781 comm .GrpName = c .Group
17821782 }
1783- comm .CommAcess = "unspecified"
1783+ comm .CommAccess = "unspecified"
17841784 comm .ACLItems .UseACLName = c .ACLName
17851785 communities .CommSecPList .Set (comm )
17861786 }
0 commit comments