Use real proxier inside hollow-proxy but with mocked syscalls

This commit is contained in:
Shyam Jeedigunta
2017-05-10 18:05:08 +02:00
parent 3fbfafdd0a
commit 27fa52390b
5 changed files with 68 additions and 32 deletions

View File

@@ -356,7 +356,7 @@ func NewProxier(ipt utiliptables.Interface,
) (*Proxier, error) {
// check valid user input
if minSyncPeriod > syncPeriod {
return nil, fmt.Errorf("min-sync (%v) must be < sync(%v)", minSyncPeriod, syncPeriod)
return nil, fmt.Errorf("min-sync (%v) must be <= sync(%v)", minSyncPeriod, syncPeriod)
}
// Set the route_localnet sysctl we need for