Skip to content

Commit

Permalink
Updated pango example for the loopback changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kklimonda-cl committed Jan 16, 2025
1 parent f0263fd commit 0ea4615
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions assets/pango/example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,16 @@ func checkLoopback(c *pango.Client, ctx context.Context) {
},
Comment: util.String("This is a loopback entry"),
Mtu: util.Int(1280),
Ips: []string{"1.1.1.1", "2.2.2.2"},
Ip: []loopback.Ip{
{
Name: "1.1.1.1",
},
{
Name: "2.2.2.2",
},
},
Ipv6: &loopback.Ipv6{
Addresses: []loopback.Ipv6Addresses{
Address: []loopback.Ipv6Address{
{
EnableOnInterface: util.Bool(false),
Name: "2001:0000:130F:0000:0000:09C0:876A:130B",
Expand Down

0 comments on commit 0ea4615

Please sign in to comment.