diff options
author | Sebastien Braun | 2010-08-04 17:28:45 +0200 |
---|---|---|
committer | Sebastien Braun | 2010-08-04 17:28:45 +0200 |
commit | f8e6e94b25a092d51acdec600465074b4eb32cb8 (patch) | |
tree | 8251b788b2a63abba5cf0d9e046102471cce1e59 /src/pvs.cpp | |
parent | Fix a bug where transfer IDs would linger in the pvs daemon's data structures... (diff) | |
download | pvs-f8e6e94b25a092d51acdec600465074b4eb32cb8.tar.gz pvs-f8e6e94b25a092d51acdec600465074b4eb32cb8.tar.xz pvs-f8e6e94b25a092d51acdec600465074b4eb32cb8.zip |
Make PGM interface configurable
Diffstat (limited to 'src/pvs.cpp')
-rw-r--r-- | src/pvs.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pvs.cpp b/src/pvs.cpp index 202aa32..c217d52 100644 --- a/src/pvs.cpp +++ b/src/pvs.cpp @@ -728,6 +728,13 @@ void PVS::cancelIncomingMulticastTransfer(qulonglong transferID) } } +void PVS::setMulticastInterface(QString const& interfaceName) +{ + QSettings settings; + settings.setValue("multicast/interface", interfaceName); + settings.sync(); +} + void PVS::onIncomingMulticastTransfer(QString const& sender, qulonglong transferID, QString const& basename, qulonglong size, ushort port) { |