Skip to content

Commit

Permalink
Merge pull request #16 from id27182/feature/fix-route-update
Browse files Browse the repository at this point in the history
fixes updating of existing route
  • Loading branch information
sameesin authored Oct 8, 2021
2 parents 61abf89 + 422d5ed commit 75ac0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ciscoasa/routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (s *routingService) UpdateStaticRoute(routeID, iface, network, gateway stri
r.Interface.Name = iface
r.Interface.Kind = "objectRef#Interface"

req, err := s.newRequest("POST", u, r)
req, err := s.newRequest("PUT", u, r)
if err != nil {
return "", err
}
Expand Down

0 comments on commit 75ac0b3

Please sign in to comment.