ing
This commit is contained in:
parent
efdfd3060b
commit
9567faa011
|
@ -199,9 +199,9 @@ func (d *ofDiscoverer) discover(req types.DiscoveryRequest, s session.DiscoveryS
|
||||||
}
|
}
|
||||||
|
|
||||||
if s.Privileged() {
|
if s.Privileged() {
|
||||||
d.SendMessage(req, types.DiscoveryMessageTypeMode, "Privileged")
|
d.SendMessage(req, types.DiscoveryMessageTypeMode, omd.DiscoveryModeTypePrivileged.String())
|
||||||
} else {
|
} else {
|
||||||
d.SendMessage(req, types.DiscoveryMessageTypeMode, "Unprivileged")
|
d.SendMessage(req, types.DiscoveryMessageTypeMode, omd.DiscoveryModeTypeUnprivileged.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
d.complexDiscover(s)
|
d.complexDiscover(s)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user