QUASAR: Fix line where inline function wasn't using correct var

The function was referencing the udp variable, which is scoped
outside the function; not only is this inefficient, it is also incorrect
 leading to all three default packet type actions using the udp 
value instead of their individual types, which are passed in.
Fixed.