Skip to content

Commit

Permalink
fix #6: fix a bug when returning the source endpoint in the
Browse files Browse the repository at this point in the history
ExplicitRXIndicatorPacket class

Signed-off-by: Ruben Moral <ruben.moral@digi.com>
  • Loading branch information
rubenmoral committed Nov 28, 2017
1 parent dda5664 commit f420d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digi/xbee/packets/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2619,7 +2619,7 @@ def __get_source_endpoint(self):
Returns:
Integer: the source endpoint of the transmission.
"""
return self.__dest_endpoint
return self.__source_endpoint

def __set_source_endpoint(self, source_endpoint):
"""
Expand Down

0 comments on commit f420d87

Please sign in to comment.