Skip to content

Commit 3f2a296

Browse files
authored
Fix fast-reboot-dump.py SonicV2Connector after late merge (sonic-net#1546)
#### What I did This PR sonic-net/sonic-utilities#1393 merged after PR: sonic-net/sonic-utilities#1392 This caused the first PR to be not aligned with SonicV2Connector change. This PR motivation is to fix it.
1 parent 0ce6a25 commit 3f2a296

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/fast-reboot-dump.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ def get_fdb(db, vlan_name, vlan_id, bridge_id_2_iface):
190190
return fdb_entries, available_macs, map_mac_ip
191191

192192
def generate_fdb_entries(filename):
193-
asic_db = swsssdk.SonicV2Connector(host='127.0.0.1')
194-
app_db = swsssdk.SonicV2Connector(host='127.0.0.1')
193+
asic_db = SonicV2Connector(use_unix_socket_path=False)
194+
app_db = SonicV2Connector(use_unix_socket_path=False)
195195
asic_db.connect(asic_db.ASIC_DB, False) # Make one attempt only
196196
app_db.connect(app_db.APPL_DB, False) # Make one attempt only
197197

0 commit comments

Comments
 (0)