PacketFence - BTS - PacketFence
View Issue Details
0001150PacketFenceerror-handlingpublic2011-01-11 16:362011-01-26 15:44
obilodeau 
obilodeau 
normalminoralways
closedfixed 
 
2.0.12.0.1 
19aaf19b4c37c747ba49e4859f3c677bd07768f6
0001150: pfdhcplistener warning and exception if interface name provided doesn't exist
Use of uninitialized value in subroutine entry at
        /usr/local/pf/sbin/pfdhcplistener line 118 (0000001)
    (W uninitialized) An undefined value was used as if it were already
    defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.
    
    To help you figure out what was undefined, perl tells you what operation
    you used the undefined value in. Note, however, that perl optimizes your
    program and the operation displayed in the warning may not necessarily
    appear literally in your program. For example, "that $foo" is
    usually optimized into "that " . $foo, and the warning will refer to
    the concatenation (.) operator, even though there is no . in your
    program.
    
Uncaught exception from user code:
        p is not of type pcap_tPtr at /usr/local/pf/sbin/pfdhcplistener line 118.
 at /usr/local/pf/sbin/pfdhcplistener line 118
        main::dhcp_detector('eth0.4') called at /usr/local/pf/sbin/pfdhcplistener line 93
No tags attached.
Issue History
2011-01-11 16:36obilodeauNew Issue
2011-01-11 16:36obilodeauStatusnew => assigned
2011-01-11 16:36obilodeauAssigned To => obilodeau
2011-01-11 17:34obilodeaumtn revision => 19aaf19b4c37c747ba49e4859f3c677bd07768f6
2011-01-11 17:34obilodeauNote Added: 0001804
2011-01-11 17:34obilodeauStatusassigned => resolved
2011-01-11 17:34obilodeauFixed in Version => 2.0.1
2011-01-11 17:34obilodeauResolutionopen => fixed
2011-01-26 15:44obilodeauStatusresolved => closed

Notes
(0001804)
obilodeau   
2011-01-11 17:34   
avoiding "p is not of type pcap_tPtr" exception by testing the result of pcap initialization