Class: Racket::L2::VTPGeneric

Inherits:
RacketPart
  • Object
show all
Defined in:
lib/racket/l2/vtp.rb

Overview

This is just a base class from which all VTP messages inherit and should never be used directly

Instance Attribute Summary

Attributes inherited from RacketPart

#autofix

Instance Method Summary collapse

Methods inherited from RacketPart

#autofix?, #initialize, #pretty

Constructor Details

This class inherits a constructor from Racket::RacketPart

Instance Method Details

#fix!Object

Adjust domain_length and domain accordingly prior to sending



47
48
49
50
# File 'lib/racket/l2/vtp.rb', line 47

def fix!
  self.domain_length = self.domain.length 
  self.domain = self.domain.ljust(32, "\x00")
end