diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2018-12-22 16:33:37 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2018-12-23 19:29:23 +0900 |
commit | ababf3068c48d665e2d9d7816cbb521c74fc47c5 (patch) | |
tree | 2fc2f54823294768e88ca94eb7bdc4fb74da9259 /pkg/server/sockopt_bsd.go | |
parent | 5d008d7b7c22cab84d974cfb7a90a002b391538a (diff) |
make Add/Delete/ListPath APIs symmetric
- AddPath() with an api.Path object then DeletePath() works with the same api.Path object.
- ListPath() returns an api.Path object then DeletePath() works with the same api.Path object.
The above is guaranteed with and without PeerInfo (SourceAsn and SourceId).
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'pkg/server/sockopt_bsd.go')
0 files changed, 0 insertions, 0 deletions