20 lines
201 B
Go
20 lines
201 B
Go
|
package rtable
|
||
|
|
||
|
import "github.com/crip/ripv2"
|
||
|
|
||
|
func Add(r *ripv2.RIP) {
|
||
|
if check(r) {
|
||
|
return
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func check(r *ripv2.RIP) bool {
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func Remove(r *ripv2.RIP) {
|
||
|
if check(r) {
|
||
|
|
||
|
}
|
||
|
}
|