engines/adva_user/vendor/plugins/authentication/lib/radius/packet.rb
# This method will pass each vendor-specific attribute available
# to a passed block.  The parameters to the block are the vendor
# ID, the attribute name, and the attribute value.
This method will pass each vendor-specific attribute available
to a passed block.  The parameters to the block are the vendor
ID, the attribute name, and the attribute value.
This method will pass each vendor - specific attribute available to a passed block . The parameters to the block are the vendor ID the attribute name and the attribute value .
def each_vsa
      @vsattributes.each_index {
	|vendorid|
	if @vsattributes[vendorid] != nil
	  @vsattributes[vendorid].each_pair {
	    |key, value|
	    value.each {
	      |val|
	      yield(vendorid, key, val)
	    }
	  }
	end
      }
    end
def each_vsa @vsattributes . each_index { | vendorid | if @vsattributes [ vendorid ] != nil @vsattributes [ vendorid ] . each_pair { | key , value | value . each { | val | yield ( vendorid , key , val ) } } end } end
This method will pass each vendor-specific attribute available
to a passed block.
This method will pass each vendor - specific attribute available to a passed block .