Skip to content

Commit 8cf643a

Browse files
committed
- fixed small printf error
- added example to ini
1 parent 536c926 commit 8cf643a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

configuration/peering.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ routeserver=1
1313

1414
[ECIX-MUC / INXS by ecix]
1515
[options]
16-
routeserver=1
16+
ixid = 73
17+
routeserver = 1
1718
routeserver6=1
1819
routeserver_group=INXS-RS
1920
routeserver_group6=INXS-RS6

ixgen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func readArgumentsAndSetup() {
6767
flag.Parse()
6868

6969
if version {
70-
fmt.Println("ixgen 0.5 (C) 2018 by Jörg Kost, jk@ip-clear.de")
70+
fmt.Println("ixgen 0.6 (C) 2021 by Jörg Kost, jk@ip-clear.de")
7171
os.Exit(0)
7272
}
7373

peeringdb/peeringdb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (p *peeringdb) SearchIXByIxId(ixId string) (apiResult Ix, err error) {
140140
}
141141

142142
if len(apiResult.Data) == 0 {
143-
return Ix{}, fmt.Errorf("%d is not a valid ixID or was not found on peeringdb", ixId)
143+
return Ix{}, fmt.Errorf("%s is not a valid ixID or was not found on peeringdb", ixId)
144144
}
145145

146146
if err = p.callAPI("/ix/"+strconv.FormatInt(apiResult.Data[0].ID, 10), &apiResult); err != nil {

0 commit comments

Comments
 (0)