Skip to content

Commit

Permalink
slog
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Jul 13, 2023
1 parent d8cfc63 commit c148805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wireguard/wireguard_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (nc *NCIface) ApplyAddrs() error {
for i := range nc.Addresses {

maskSize, _ := nc.Addresses[i].Network.Mask.Size()
logger.Log(1, "appending address", fmt.Sprintf("%s/%d to nm interface", nc.Addresses[i].IP.String(), maskSize))
slog.Info("appending address", "address", fmt.Sprintf("%s/%d to nm interface", nc.Addresses[i].IP.String(), maskSize))
addr, err := netip.ParsePrefix(fmt.Sprintf("%s/%d", nc.Addresses[i].IP.String(), maskSize))
if err == nil {
prefixAddrs = append(prefixAddrs, addr)
Expand Down

0 comments on commit c148805

Please sign in to comment.