Skip to content

Commit

Permalink
fmted
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Dec 4, 2021
1 parent cc9b070 commit 48a0b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/srl/srl.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func generateSRLTopologyFile(cfg *types.NodeConfig) error {
// Use node index as part of a deterministically generated MAC
// this ensures that different srl nodes will have different macs for their ports
// (for labs up to 4096 nodes)
m := fmt.Sprintf("1a:b%1x:%02x:00:00:00", cfg.Index / 256, cfg.Index % 256 )
m := fmt.Sprintf("1a:b%1x:%02x:00:00:00", cfg.Index/256, cfg.Index%256)
mac := mac{
MAC: m,
}
Expand Down

0 comments on commit 48a0b10

Please sign in to comment.