nwfilter: utility function virNWFilterVarValueEqual
To detect if an interface's nwfilter has changed, we need to also compare the filterparams, which is a hashtable of virNWFilterVarValue. virHashEqual can do this nicely, but requires a pointer to a function that will compare two of the items being stored in the hashes.
Showing
想要评论请 注册 或 登录