Changeset 196 for etherws/trunk


Ignore:
Timestamp:
07/31/12 03:05:26 (12 years ago)
Author:
atzm
Message:
  • adjust naming rule for inner class
File:
1 edited

Legend:

Unmodified
Added
Removed
  • etherws/trunk/etherws.py

    r195 r196  
    103103 
    104104class FDB(DebugMixIn): 
    105     class FDBEntry(object): 
     105    class Entry(object): 
    106106        def __init__(self, port, ageout): 
    107107            self.port = port 
     
    125125        if vid not in self._table: 
    126126            self._table[vid] = {} 
    127         self._table[vid][mac] = self.FDBEntry(port, self._ageout) 
     127        self._table[vid][mac] = self.Entry(port, self._ageout) 
    128128 
    129129    def _del_entry(self, vid, mac): 
Note: See TracChangeset for help on using the changeset viewer.