smtpd/qpsmtpd — pull request #184 by flimzy (2014-12-31 17:21:30+00:00)
Title: Silence some warnings when $p0f->{genre} is undefined

This is meant to avoid warnings such as:

Dec 30 07:46:33 mail qpsmtpd[9726]: Use of uninitialized value in pattern match (m//) at /usr/share/qpsmtpd/plugins/ident/p0f line 226, line 3.
Dec 30 08:01:29 mail qpsmtpd[9722]: Use of uninitialized value in pattern match (m//) at /usr/share/qpsmtpd/plugins/ident/p0f line 226, line 3.
Dec 30 08:01:29 mail qpsmtpd[10555]: Use of uninitialized value in pattern match (m//) at /usr/share/qpsmtpd/plugins/ident/p0f line 226.
Dec 30 08:01:59 mail qpsmtpd[10261]: Use of uninitialized value in pattern match (m//) at /usr/share/qpsmtpd/plugins/ident/p0f line 226, line 3.
Dec 30 08:04:55 mail qpsmtpd[10307]: Use of uninitialized value in pattern match (m//) at /usr/share/qpsmtpd/plugins/ident/p0f line 226, line 3.

It passes the test suite, but the tests for check_genre() are pretty sparse, so I'm not sure how much that tells us.