Update dsr.py

Fixed the way packets are constructed