summaryrefslogtreecommitdiffhomepage
path: root/table/path_test.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-03-11 23:15:35 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-20 22:30:47 +0900
commit53730a4dfd938933b87dec0c5f11a7fdbdbb2a2a (patch)
tree4cc4960c5f19429f72478a3b1a1efcec1c4f08e3 /table/path_test.go
parentc9ec21fe3250551b0e02fa4c7dcf776996aa2af2 (diff)
peer: don't send back routes to the source.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/path_test.go')
-rw-r--r--table/path_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/path_test.go b/table/path_test.go
index fe80b3d7..2dc0c3de 100644
--- a/table/path_test.go
+++ b/table/path_test.go
@@ -83,7 +83,7 @@ func TestPathSetNexthop(t *testing.T) {
pd := &PathDefault{}
ip := net.ParseIP("192.168.0.1")
pd.setNexthop(ip)
- nh := pd.getNexthop()
+ nh := pd.GetNexthop()
assert.Equal(t, nh, ip)
}
@@ -91,7 +91,7 @@ func TestPathgetNexthop(t *testing.T) {
pd := &PathDefault{}
ip := net.ParseIP("192.168.0.2")
pd.setNexthop(ip)
- nh := pd.getNexthop()
+ nh := pd.GetNexthop()
assert.Equal(t, nh, ip)
}