Update sdn-constraint.h to correct bugs.
Merge pull request #9 from powerist/working

Update sdn-constraint.h to correct bugs.