This works in the case where you want to override all pf servers. This case is important. Also important is the ability to override a single pf server in a similar manner.
A couple comments on the code: please follow the GNU coding standards. Second, I assume that you left the #if 0 in because you are requesting review. Make sure that you remove this when you really intend to submit the patch. Finally, when that happens, make sure to include a change log entry. Neal